[Tickets #7640] Re: LDAP Authentication not working
bugs at horde.org
bugs at horde.org
Fri Nov 7 14:12:23 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7640
------------------------------------------------------------------------------
Ticket | 7640
Updated By | kristian.lance at crc.ca
Summary | LDAP Authentication not working
Queue | Horde Base
Version | 3.3
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Ben Klang
------------------------------------------------------------------------------
kristian.lance at crc.ca (2008-11-07 09:12) wrote:
I've narrowed it down to this change, which, when I revert back to the
old code, allows me to log in successfully:
@@ -135,9 +147,11 @@
function _findDN($userId)
{
/* Search for the user's full DN. */
+ $filter = $this->_getParamFilter();
+ $filter = '(&(' . $this->_params['uid'] . '=' . $userId . ')' .
+ $filter . ')';
$search = @ldap_search($this->_ds, $this->_params['basedn'],
- $this->_params['uid'] . '=' . $userId,
- array($this->_params['uid']));
+ $filter, array($this->_params['uid']));
More information about the bugs
mailing list