diff --git a/admin/inc/accounts_ldap.inc.php b/admin/inc/accounts_ldap.inc.php index ff59579998..a7c3c0945d 100644 --- a/admin/inc/accounts_ldap.inc.php +++ b/admin/inc/accounts_ldap.inc.php @@ -107,8 +107,8 @@ if (! $phpgw_info["server"]["global_denied_users"][$info[$j]["uid"][0]]) { $account_info[$j]["account_id"] = rawurlencode($info[$j]["dn"]); $account_info[$j]["account_lid"] = $info[$j]["uid"][0]; - $account_info[$j]["account_lastname"] = $info[$j]["givenname"][0]; - $account_info[$j]["account_firstname"] = $info[$j]["sn"][0]; + $account_info[$j]["account_lastname"] = $info[$j]["sn"][0]; + $account_info[$j]["account_firstname"] = $info[$j]["givenname"][0]; } } */ @@ -117,8 +117,8 @@ if (! $phpgw_info["server"]["global_denied_users"][$info[$i]["uid"][0]]) { $account_info[$i]["account_id"] = rawurlencode($info[$i]["dn"]); $account_info[$i]["account_lid"] = $info[$i]["uid"][0]; - $account_info[$i]["account_lastname"] = $info[$i]["givenname"][0]; - $account_info[$i]["account_firstname"] = $info[$i]["sn"][0]; + $account_info[$i]["account_lastname"] = $info[$i]["sn"][0]; + $account_info[$i]["account_firstname"] = $info[$i]["givenname"][0]; } }