From: Chris R. <chr...@us...> - 2003-05-09 18:19:57
|
Update of /cvsroot/perl-ldap/ldap/lib/Net In directory sc8-pr-cvs1:/tmp/cvs-serv31062 Modified Files: LDAP.pod Log Message: Minor typos fixed Index: LDAP.pod =================================================================== RCS file: /cvsroot/perl-ldap/ldap/lib/Net/LDAP.pod,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- LDAP.pod 9 May 2003 16:56:49 -0000 1.28 +++ LDAP.pod 9 May 2003 18:19:54 -0000 1.29 @@ -61,19 +61,19 @@ Creates a new B<Net::LDAP> object and opens a connection to the named host. C<HOST> may be a host name or an IP number. TCP port may be specified -after the host name followed by a column ':' (such as -localhost:10389). The default TCP port is 389. +after the host name followed by a colon (such as localhost:10389). The +default TCP port is 389. You can also specify a URI, such as 'ldaps://127.0.0.1:666' or 'ldapi://%2fvar%2flib%2fldap_sock'. Note that '%2f's in the LDAPI socket path will be translated into '/'. This is to support LDAP query -options like base, search etc. although query part of the URI will be -ignored in this context. If port was not specified in the URI, the +options like base, search etc. although the query part of the URI will +be ignored in this context. If port was not specified in the URI, the default is either 389 or 636 for 'LDAP' and 'LDAPS' schemes respectively. C<HOST> may also be a reference to an array of hosts, host-port pairs -or URI's to try. Each will be tried in order until a connection is +or URIs to try. Each will be tried in order until a connection is made. Only when all have failed will the result of C<undef> be returned. |