[bugs] [Bug 1151] New - LDAP binding fails

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Jan 16 18:24:01 PST 2003


http://bugs.horde.org/show_bug.cgi?id=1151

*** shadow/1151	Thu Jan 16 18:24:01 2003
--- shadow/1151.tmp.1541	Thu Jan 16 18:24:01 2003
***************
*** 0 ****
--- 1,26 ----
+ Bug#: 1151
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: Mozilla 5.x
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: jon at horde.org                            
+ ReportedBy: mah at everybody.org               
+ URL: 
+ Summary: LDAP binding fails
+ 
+ The LDAP binding in ldap.php is pretty naive.  It constructs a DN to bind with
+ by concatnating the uid attribute ('mail' in my case) with the username and the
+ basedn: "mail=mah at everybody.org,o=top" instead of
+ "uid=mah,ou=users,dc=everybody.org,o=top"
+ 
+ For small, single-domain stores, this probably works.  However, if you have
+ several  layers between the basedn and the dn, this fails miserably.
+ 
+ What I would expect: anonymous bind, search for object where the uid==username,
+ get the dn of that object, rebind as that dn with the user-supplied password.


More information about the bugs mailing list