Changeset 1180
- Timestamp:
- 02/07/07 17:57:55 (6 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 3 modified
-
CHANGELOG (modified) (1 diff)
-
wifidog/classes/Authenticators/AuthenticatorLDAP.php (modified) (2 diffs)
-
wifidog/classes/Dependencies.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r1179 r1180 1 2007-02-07 Damien Raude-Morvan <drazzib@drazzib.com> 2 * Fix ticket #298 : php-ldap module is lowercase in Dependencies array, update Dependencies::check() calls. 3 1 4 2007-02-05 Damien Raude-Morvan <drazzib@drazzib.com> 2 5 * Try to fix ticket #295 and #297 by including parent class (Content.php) in File.php. -
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 -
trunk/wifidog-auth/wifidog/classes/Dependencies.php
r1166 r1180 242 242 // Are we checking for a PHP extension or a PHP library? 243 243 if (self::$_components[$component]["type"] == "phpExtension") { 244 // Warning : extension_loaded(string) is case sensitive 244 245 $_returnValue = extension_loaded($component); 245 246 }
