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

Request #13955 search() should take Entry objects
Submitted: 2008-05-22 08:04 UTC
From: cweiske Assigned: beni
Status: Closed Package: Net_LDAP2 (version 2.0.0RC2)
PHP Version: 5.2.6 OS:
Roadmaps: 2.0.0    
Subscription  
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:
MUST BE VALID
Solve the problem : 40 - 16 = ?

 
 [2008-05-22 08:04 UTC] cweiske (Christian Weiske)
Description: ------------ Net_LDAP2::search() requires a DN as search base. It'd be cool if it allowed Net_LDAP2_Entry objects, since they have a dn() method anyways. Expected result: ---------------- foreach ($search as $ldapfolder) { $addrSearch = $ldap->search( $ldapfolder, $addressFilter, array( 'scope' => 'one' ) ); }

Comments

 [2008-05-24 11:40 UTC] beni (Benedikt Hallinger)
Same applies to Net_LDAP2->dnExists().
 [2008-05-29 13:04 UTC] beni (Benedikt Hallinger)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.