diff --git a/www/includes/ldap_functions.inc.php b/www/includes/ldap_functions.inc.php index 5908b46..8f0a452 100644 --- a/www/includes/ldap_functions.inc.php +++ b/www/includes/ldap_functions.inc.php @@ -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}"; }