note 25555 added to function.ldap-bind
| From: | elvisciousatrmci dot net at rack1 dot php dot net | Date: | Fri, 27 Sep 2002 16:08:24 +0000 |
| Subject: | note 25555 added to function.ldap-bind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37332@lists.php.net to get a copy of this message | ||
I ran into a problem where I was getting a protocol error when I tried to bind. I was able to
connect fine and ldap commands worked fine from the command line.
The problem turned out to be that openldap (v 2.1.5) was starting up in version 3 ldap mode, and php
(4.2.3) expected it to be in version 2 mode.
To fix this use the ldap_set_option command to change the version that php expects.
--
http://www.php.net/manual/en/function.ldap-bind.php
http://master.php.net/manage/user-notes.php?action=edit+25555
http://master.php.net/manage/user-notes.php?action=delete+25555
http://master.php.net/manage/user-notes.php?action=reject+25555