Home » Networking » Net_LDAP » Bug #2391
LDAP_OPT_REFERRALS
Details
| Request #2391 | LDAP_OPT_REFERRALS |
|---|---|
| Submitted | 2004-09-24 14:34 UTC |
| From | mkone_1 at web dot de |
| Status | Closed |
| Package | Net_LDAP |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-09-24 14:34 UTC] mkone_1 at web dot de
Description:
------------
Can you include an option for this issue:
http://www.php.net/manual/en/function.ldap-search.php (User Contributed Notes)
"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."