memberUid is deprecated, make member default

This commit is contained in:
Andrew Ruthven 2024-02-03 19:17:01 +13:00
parent a7fc46a848
commit bb713137fd
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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'];