LDAP Group Sync: username and ldap group member don't match
I use the following configuration to import users and groups from AD into Davical.
'mapping_field' => array("username" => "sAMAccountName",
"fullname" => "cn" ,
"email" => "mail",
'modified' => 'modifyTimestamp'),
'group_mapping_field' => array('username' => 'cn',
'modified' => 'modifyTimestamp',
'fullname' => 'cn' ,
'members' =>'member'),
'group_member_dnfix' => true,
To set a user's group membership, the sync compares the user's name in members
with username
. Since members in AD contains a user's cn and username the sAMAccountName, the names doesn't match and the user wont't be assigned to the group. Is there any option or attribute mapping to let the sync compares fullname
with member instead of username
with member?
Edited by Peter Schmidt