From fe9ec629717eda0ad470b462733b435a06776bb5 Mon Sep 17 00:00:00 2001 From: Stig Venaas Date: Sun, 29 Oct 2000 20:10:08 +0000 Subject: [PATCH] Added note to ldap_connect() on URL and SSL support with OpenLDAP 2.x.x git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@34843 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ldap.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/ldap.xml b/functions/ldap.xml index 9f6340ae26..61dc6057fc 100644 --- a/functions/ldap.xml +++ b/functions/ldap.xml @@ -424,6 +424,12 @@ if ($ds) { already opened link will be returned. If only hostname is specified, then the port defaults to 389. + + If you are using OpenLDAP 2.x.x you can specify a URL instead of the + hostname. To use LDAP with SSL, compile OpenLDAP 2.x.x with SSL + support, configure PHP with SSL, and use ldaps://hostname/ as + host parameter. The port parameter is not used when using URLs. + URL and SSL support were added in 4.0.4.