diff --git a/config/example-config.php b/config/example-config.php index 2a11b701..1b2fc141 100644 --- a/config/example-config.php +++ b/config/example-config.php @@ -715,7 +715,7 @@ $c->admin_email = 'calendar-admin@example.com'; // "username" => "cn", // "modified" => "modifyTimestamp", // "fullname" => "cn", -// "members" => "memberUid" +// "members" => "member" // ), /* if your "members" field contains the full DN and needs to be diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 00ca6754..9d3cc381 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -505,7 +505,8 @@ function sync_LDAP_groups(){ $member_field = isset($mapping['members']) ? $mapping['members'] - : 'memberUid'; + : 'member'; + $dnfix = isset($c->authenticate_hook['config']['group_member_dnfix']) && $c->authenticate_hook['config']['group_member_dnfix'];