1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Display common name in the directory

This commit is contained in:
downtownallday 2021-12-05 16:11:48 -05:00
parent d2c4be41e0
commit 6c24a130b9

View File

@ -149,10 +149,10 @@ cat > $RCM_CONFIG <<EOF;
'bind_pass' => '${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,