Rename one more occurance on attributs to attributes, I can login with LDAP now.

This commit is contained in:
Andrew Ruthven 2007-11-03 12:17:21 +13:00 committed by Andrew Ruthven
parent ad712e9c25
commit 5ee58e34b3

View File

@ -111,7 +111,7 @@ class ldapDrivers
$entry=NULL;
// We get the DN of the USER
$entry = ldap_search($this->connect, $this->baseDNUsers, $filter,$attributs);
$entry = ldap_search($this->connect, $this->baseDNUsers, $filter,$attributes);
if ( !ldap_first_entry($this->connect, $entry) ){
dbg_error_log( "ERROR", "drivers_ldap : Unable to find the user with filter %s",$filter );
return false;