Hi everyone,
I would like setup RC with new_user_identity to update identity (mail and name) from Active Directory.
Can you help me please
Sorry for my poor english > i m french
config/config.inc.php
$config['ldap_public'] = array (
'MyAdLdap' =>
array (
'name' => 'company',
'hosts' =>
array (
0 => '182.31.22.58',
),
'sizelimit' => 10000,
'port' => 3268,
'use_tls' => false,
'user_specific' => false,
'base_dn' => 'ou=4-UTILISATEURS-ADM,dc=company,dc=fr',
'bind_dn' => 'XXXXXXX',
'bind_pass' => 'YYYYYYYYYYY',
'writable' => false,
'ldap_version' => 3,
'search_fields' =>
array (
0 => 'mail',
1 => 'cn',
2 => 'mailNickname',
),
'fieldmap' =>
array (
'name' => 'cn',
'email' => 'mail',
'surname' => 'givenName',
'firstname' => 'sn',
),
'sort' => 'givenName',
'scope' => 'sub',
'filter' => '(&(mail=*)(|(&(objectClass=user)(!(objectClass=computer)))(objectClass=group)))',
'global_search' => true,
'fuzzy_search' => true,
'vlv' => false,
),
);
LDAP adressbook work fine
plugins/new_user_identity/config.inc.php
$config['new_user_identity_addressbook'] = 'company';
$config['new_user_identity_match'] = 'cn';
$config['new_user_identity_onlogin'] = false;
What's wrong !