Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.5

Submitted: 2004-09-24 14:34 UTC
From: mkone_1 at web dot de Assigned:
Status: Closed Package: Net_LDAP
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 23 + 30 = ?

 [2004-09-24 14:34 UTC] mkone_1 at web dot de
Description: ------------ Can you include an option for this issue: (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."


 [2004-10-01 09:45 UTC] jw
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. I updated CVS today with the following changes: implement feature request #2391 (setting ldap options) + implemtent setOption() and getOption() + change getLDAPVersion() and setLDAPVersion() to use new functions + add options param to config array for setting options at connect time This is for Net_LDAP_0_6 branch for now. You can get the new LDAP.php at . Could you replace that file in your installation and tell me if it works for you? You can include an array of options in your config like this: $config = array('dn' => ..., 'host' => ..., options => array('LDAP_OPT_REFERRAL' => 0)); or do a $ldap->setOption('LDAP_OPT_REFERRAL', 0); Thx for using the class.