note 34784 added to ref.ldap
| From: | mrowe at pointsystems dot com | Date: | Wed, 06 Aug 2003 16:58:54 +0000 |
| Subject: | note 34784 added to ref.ldap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53524@lists.php.net to get a copy of this message | ||
FWIW,
Before anyone else wastes a day scratching their head wondering why they can't search Active
Directory...
I wasn't able to search on Active Directory until I did this (immediately after the
ldap_connect):
ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3);
I was able to ldap_bind if I didn't set this option, but I kept receiving errors. Also note, I
had to set the option BEFORE binding.
----
Manual Page -- http://www.php.net/manual/en/ref.ldap.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34784
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34784&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34784&report=yes