From bd54ab1ff87a4aeb217ac2ddd4a24e78cc5644fd Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 5 Aug 2004 05:54:19 +0000 Subject: [PATCH] Start the process of documenting bug #15637 and see also ldap_bind() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165352 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ldap/functions/ldap-connect.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/reference/ldap/functions/ldap-connect.xml b/reference/ldap/functions/ldap-connect.xml index 8425a21309..58ac928dc4 100644 --- a/reference/ldap/functions/ldap-connect.xml +++ b/reference/ldap/functions/ldap-connect.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,12 @@ Returns a positive LDAP link identifier on success, or &false; on - error. + error. When OpenLDAP 2.x.x is used, ldap_connect + will always return a resource as it does not actually + connect but just initializes the connecting parameters. The actual + connect happens with the next calls to ldap_* funcs, usually with + ldap_bind. + ldap_connect establishes a connection to a LDAP server on a specified hostname and @@ -71,6 +76,10 @@ $ldapconn = ldap_connect($ldaphost) ]]> + + See also + ldap_bind. +