mirror of
https://github.com/wheelybird/ldap-user-manager.git
synced 2025-01-18 23:42:54 +01:00
Don't secretly set displayName
This commit is contained in:
parent
5a96630845
commit
d7a2ad5d02
@ -784,7 +784,7 @@ function ldap_new_account($ldap_connection,$account_r) {
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($account_attributes['displayname'])) { $account_attributes['displayname'] = $account_attributes['givenname'] . " " . $account_attributes['sn']; }
|
||||
|
||||
if (empty($account_attributes['loginshell'])) { $account_attributes['loginshell'] = $DEFAULT_USER_SHELL; }
|
||||
if (empty($account_attributes['homedirectory'])) { $account_attributes['homedirectory'] = "/home/${account_identifier}"; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user