Hello,
I installed roundcube 1.4.5 and configured address book to get data from OpenLDAP but I could not achieve to get default identity from ldap. It always set it to username. Any help appretiated.
My configuration is like below.
$config['plugins'] = array('debug_logger', 'new_user_identity', 'archive', 'attachment_reminder', 'filesystem_attachments', 'jqueryui', 'markasjunk', 'newmail_notifier', 'password', 'zipdownload');
//new_user_identity.inc.php
$config['new_user_identity_addressbook'] = 'People';
$config['new_user_identity_match'] = 'uid';
$config['new_user_identity_onlogin'] = true;
$config['ldap_public']['People'] = array(
'name' => 'People',
'hosts' => array('localhost'),
'port' => 389,
'user_specific' => false,
'base_dn' => 'ou=org,dc=univ,dc=edu',
'bind_dn' => 'uid=user1,ou=org,dc=univ,dc=edu',
'bind_pass' => 'xxx',
'search_only' => true,
'hidden' => true,
'writable' => false,
'filter' => '(objectClass=inetOrgPerson)',
'search_fields' => array('uid', 'givenName', 'cn', 'sn'), // fields to search in
'fieldmap' => array(
// Roundcube => LDAP
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
),
'scope' => 'sub',
);
Regards.