- Timestamp:
- 02/07/07 17:57:55 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/wifidog/classes/Authenticators/AuthenticatorLDAP.php
r1147 r1180 156 156 $rtval = true; 157 157 158 if (Dependencies::check("LDAP", $errmsg)) { 158 // Check if php-ldap extension is loaded 159 if (Dependencies::check("ldap", $errmsg)) { 159 160 if ($connect = @ldap_connect($ldap_server)) { 160 161 // if connected to ldap server … … 241 242 $password = $db->EscapeString($password); 242 243 243 if (Dependencies::check("LDAP", $errmsg)) { 244 // Check if php-ldap extension is loaded 245 if (Dependencies::check("ldap", $errmsg)) { 244 246 if ($this->checkLdapUser($username, $password, $this->mldap_hostname, $this->mldap_o, $this->mldap_filter, $errmsg)) { 245 247 //LDAP Authentication Successful
