PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_LDAP » Bug #2391

LDAP_OPT_REFERRALS

Details

Request #2391LDAP_OPT_REFERRALS
Submitted2004-09-24 14:34 UTC
Frommkone_1 at web dot de
StatusClosed
PackageNet_LDAP
PHP VersionIrrelevant
OSIrrelevant
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."