From 6c24a130b93093b0be29c4050f48536e94323455 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Sun, 5 Dec 2021 16:11:48 -0500 Subject: [PATCH] Display common name in the directory --- setup/webmail.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/webmail.sh b/setup/webmail.sh index f51ae36b..4caf6c89 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -149,10 +149,10 @@ cat > $RCM_CONFIG < '${LDAP_WEBMAIL_PASSWORD}', 'writable' => false, 'ldap_version' => 3, - 'search_fields' => array( 'mail' ), - 'name_field' => 'mail', + 'search_fields' => array( 'mail', 'cn' ), + 'name_field' => 'cn', 'email_field' => 'mail', - 'sort' => 'mail', + 'sort' => 'cn', 'filter' => '(objectClass=mailUser)', 'fuzzy_search' => false, 'global_search' => true,