/* Make sure we just use the first user we find */
/* Make sure we just use the first user we find */
if($debug){
log_error(sprintf(gettext('Now Searching in server %1$s, container %2$s with filter %3$s.'),$ldapname,utf8_decode($ldac_split),utf8_decode($ldapfilter)));
}
if($ldapscope=="one")
if($ldapscope=="one")
$ldapfunc="ldap_list";
$ldapfunc="ldap_list";
else
else
...
@@ -1146,19 +1152,15 @@ function ldap_backed($username, $passwd, $authcfg) {
...
@@ -1146,19 +1152,15 @@ function ldap_backed($username, $passwd, $authcfg) {