[Fusionforge-commits] r12761 - trunk/src/plugins/ldapextauth/include

Roland Mas lolando at fusionforge.org
Mon Mar 14 17:50:21 CET 2011


Author: lolando
Date: 2011-03-14 17:50:21 +0100 (Mon, 14 Mar 2011)
New Revision: 12761

Modified:
   trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
Log:
Fixes

Modified: trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php
===================================================================
--- trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2011-03-14 16:50:06 UTC (rev 12760)
+++ trunk/src/plugins/ldapextauth/include/LdapExtAuthPlugin.class.php	2011-03-14 16:50:21 UTC (rev 12761)
@@ -250,7 +250,7 @@
 			}
 		}
 
-		$res = ldap_search($this->ldap_conn, forge_get_config('base_dn', $this->name), "($ldapfield=$loginname)");
+		$res = ldap_search($this->ldap_conn, forge_get_config('base_dn', $this->name), "($fieldname=$loginname)");
 		if (!$res || ldap_count_entries($this->ldap_conn, $res) == 0) {
 			// No user by that name in LDAP directory
 			return false;




More information about the Fusionforge-commits mailing list