im not clearly understand config file and need explanation:
1.
// 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'] = 'ldap_users';
Here I must use my address book name from my RC config ?
2.
// 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'] = 'uid';
This I can't understand. For example I take from AD to my address book this fields:
'name' => 'displayname',
'email' => 'mail'
and for login my users use full mail like user@domain.com. Should I use 'email' ? $config['new_user_identity_match'] = 'email';
And what field from address book will be used for filling identities ?
3.
// 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'] = false;
If I set it to TRUE then users identities will be rewrite from LDAP every time when user login or what ?