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

Bug #10004 Debug messages in LDAP container are unhelpful
Submitted: 2007-02-01 12:10 UTC
From: alexiadeath at hotmail dot com Assigned: aashley
Status: Closed Package: Auth (version 1.5.0RC1)
PHP Version: 5.1.4 OS: Debian
Roadmaps: (Not assigned)    
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 : 39 + 9 = ?

 
 [2007-02-01 12:10 UTC] alexiadeath at hotmail dot com (Alexia Death)
Description: ------------ 283: Connecting with host:port 290: Successfully connected to server 294: Switching to LDAP version 3 308: Switching LDAP referrals to false 314: Binding with credentials 0: LDAP_Error: Success 0: disconnecting from server This is ALL the debuging information you get for ANY bind error ranging from the fact server IP is incorrect to the fact that bind password is incorrect. I belive debug should at least give you back the LDAP error code/message... Its particulary nasty if theres a problem with the host address because this seems to indicate that connecting to host worked... And what kind of a error is Success?

Comments

 [2007-02-02 02:16 UTC] aashley at php dot net (Adam Ashley)
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. I've added logging of the ldap error messages to the LDAP container but I have no idea where that second last error message came from. The debug output I got is: AUTH: Auth_Container_LDAP::_connect() called. AUTH: Connecting with host:port AUTH: Successfully connected to server AUTH: Switching to LDAP version 3 AUTH: Switching LDAP referrals to true AUTH: Binding with credentials AUTH: Bind failed AUTH: LDAP ERROR: 81: Can't contact LDAP server AUTH: Auth_Container_LDAP::_disconnect() called. AUTH: disconnecting from server the LDAP ERROR line is a newly added one.