Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -1259,6 +1259,7 @@ |
1260 | 1260 | } |
1261 | 1261 | } |
1262 | 1262 | |
| 1263 | + $searchattr = $this->getConf( 'SearchAttribute' ); |
1263 | 1264 | // we need to do a subbase search for the entry |
1264 | 1265 | $filter = "(" . $searchattr . "=" . $this->getLdapEscapedString( $username ) . ")"; |
1265 | 1266 | $this->printDebug( "Created a regular filter: $filter", SENSITIVE ); |