Topic: Sort LDAP Address Book
iRedMail version: 1.6.0
Deployed: Downloadable installer
OS: Linux
Backend: LDAP
Web Server: Ndix
Pro: NO
------------------------------------------------------------------
I would like to ask how I can sort LDAP Address Book contacts, here is my config:
$config['ldap_public'] = array(
'Accounts' => array (
'name' => 'Accounts',
'hosts' => array('example.com'),
'port' => 389,
'use_tls' => false,
'user_specific' => false,
'base_dn' => 'ou=mxa, dc=example,dc=com',
'bind_dn' => 'superuser',
'bind_pass' => 'Gosh!Imissthe90s',
'writable' => false,
'ldap_version' => 3,
'search_fields' => array(
'mail',
'cn',
),
'fieldmap' => array(
'name' => 'GivenName',
'email' => 'mail',
'surname' => 'sn',
'firstname' => 'givenName',
),
'sort' => 'sn', <----- NOt working
'scope' => 'list', # or 'sub'
'filter' => '(&(mail=*)(|(&(objectClass=user)(!(objectClass=computer)))(objectClass=group)))',
'global_search' => true,
'fuzzy_search' => true,
'vlv' => false,
),
);
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.