note 45388 added to function.ldap-search
| From: | semaattechniondotacdotil at osu1 dot php dot net | Date: | Sat, 04 Sep 2004 17:54:42 +0000 |
| Subject: | note 45388 added to function.ldap-search | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76015@lists.php.net to get a copy of this message | ||
In order to perform the searches on Windows 2003 Server Active Directory you have to set the
LDAP_OPT_REFERRALS option to 0:
ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0);
Without this, you will get "Operations error" if you try to search the whole AD schema
(using root of the domain as a $base_dn).
As opposed to Windows 2000 Server, where this option was optional and only increased the
performance.
----
Manual Page -- http://www.php.net/manual/en/function.ldap-search.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45388
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45388&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45388&report=yes
Search -- http://master.php.net/manage/user-notes.php