Re: #22849 [NEW]: Module Auth, LDAP Authentification: Windows 2000 AD needs named binds

From: Date: Mon, 24 Mar 2003 20:00:40 +0000
Subject: Re: #22849 [NEW]: Module Auth, LDAP Authentification: Windows 2000 AD needs named binds
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14579@lists.php.net to get a copy of this message
Am Mon, 2003-03-24 um 15.21 schrieb hopfgartner at rolmail dot net: > From: hopfgartner at rolmail dot net > Operating system: Windows 2000 > PHP version: 4.3.2RC1 > PHP Bug Type: PEAR related > Bug description: Module Auth, LDAP Authentification: Windows 2000 AD needs named binds > > In the current LDAP.php, in function _connect(), an anonymous bind is > requested immediatly after ldap_connect. > > Windows 2000 AD does not yield any result for ldap_search if the bind has > been done anonymously. > > This requires a slight change in the logic of the user authentification. > > Let me know if I can help. It should be no problem adding a parameter to skip the search of the actual DN to bind with, if it is already known. I guess the ususal parameter names should be binddn and bindpw (I already have that implemented in a slightly advanced version, but did not manage to integrate it into the PEAR version). If that would solve your problems with AD, please let me know and I'll integrate it a.s.a.p. Jan

« previous php.pear.dev (#14579) next »