From d7a2ad5d023b3c71c68cd3437e87be02f7c4ecea Mon Sep 17 00:00:00 2001 From: Brian Lycett Date: Fri, 11 Mar 2022 10:59:21 +0000 Subject: [PATCH] Don't secretly set displayName --- www/includes/ldap_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"; }