More work on LDAP read accounts

This commit is contained in:
jengo 2000-10-23 03:33:30 +00:00
parent 9b9bad78f0
commit 3618a61f1c
2 changed files with 8 additions and 6 deletions

View File

@ -73,10 +73,12 @@
$info = ldap_get_entries($ldap, $sr);
for ($i=0; $i<count($info); $i++) {
if (! $phpgw_info["server"]["global_denied_users"][$info[$i]["uid"][0]]) {
$account_info[$i]["account_lid"] = $info[$i]["uid"][0];
$account_info[$i]["account_firstname"] = $info[$i]["givenname"][0];
$account_info[$i]["account_lastname"] = $info[$i]["sn"][0];
}
}
return $account_info;
}