From 5ee58e34b3b2489119c4170169e0d211fde02fbf Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 3 Nov 2007 12:17:21 +1300 Subject: [PATCH] Rename one more occurance on attributs to attributes, I can login with LDAP now. --- inc/drivers_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 87da7d97..48fec9a1 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -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;