Hi, i try setting roundcube 1.3.3. I add address book:
$config['ldap_public']['People'] = array(
'name' => 'Public',
'hosts' => array('ldap.domain.com'),
'ldap_version' => 3,
'port' => 389,
'use_tls' => true,
'user_specific' => false,
'base_dn' => 'ou=People,dc=domain,dc=com',
'bind_dn' => 'uid=dovecot,ou=Users,dc=domain,dc=com',
'bind_pass' => 'Lei?Pe4aiH=i',
'filter' => '(&(objectClass=inetOrgPerson)(!(memberof=cn=Deleted.dept,ou=Groups,dc=domain,dc=com)))',
'fieldmap' => array(
// Roundcube => LDAP:limit
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
'jobtitle' => 'title',
'email' => 'mail:*',
'phone:home' => 'homePhone',
'phone:work' => 'telephoneNumber',
'phone:mobile' => 'mobile',
'phone:pager' => 'pager',
'jobtitle' => 'title',
'notes' => 'description',
),
);
So, I enable plugin new_user_identity and add config in config.inc.php:
// The id of the address book to use to automatically set a
// user's full name in their new identity. (This should be an
// string, which refers to the $config['ldap_public'] array.)
$config['new_user_identity_addressbook'] = 'People';
// When automatically setting a user's full name in their
// new identity, match the user's login name against this field.
$config['new_user_identity_match'] = 'mail';
// Determine whether to import user's identities on each login.
// New user identity will be created for each e-mail address
// present in address book, but not assigned to any identity.
$config['new_user_identity_onlogin'] = true;
but, when i login then my identities remain the same. Maybe i do it wrong?