Ticket #571 (new Bug report)
Opened 16 months ago
Problem with LDAP filter
| Reported by: | julien.desfossez@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Not yet assigned to a Milestone |
| Component: | Auth server, Authentication, permissions and access control | Version: | |
| Keywords: | Cc: |
Description
Hi,
There is a problem in the LDAP Authenticator : the filter is not trimmed and therefore there is a space which causes a "Bad search filter".
To solve this issue :
--- AuthenticatorLDAP.php.orig 2009-05-11 14:49:10.000000000 -0400
+++ AuthenticatorLDAP.php 2009-05-11 14:50:37.000000000 -0400
@@ -130,7 +130,7 @@
parent::__construct($account_orgin);
$this->mldap_hostname = $host;
- $this->mldap_filter = $filter;
+ $this->mldap_filter = trim($filter);
$this->mldap_o = $o;
$this->mldap_rdn = trim($rdn);
$this->mldap_pass = trim($pass);
Attachments
Note: See
TracTickets for help on using
tickets.
