* LDAP/Import: fix not imported memberships of groups in LDAP not using their gidNumber, because it is already used as uidNumber / user

This commit is contained in:
ralf 2024-08-19 13:31:22 +02:00
parent d0ce70e563
commit da9b08e999

View File

@ -839,8 +839,9 @@ class Import
} }
else else
{ {
$set_members[$sql_id] = $this->accounts->members($group['account_id']); $set_members[$sql_id] = $this->accounts->members($account_id);
} }
$this->logger("Group '$group[account_lid]' members: ".json_encode($set_members[$sql_id]), 'debug');
} }
// delete the groups not returned from LDAP, groups can NOT be deactivated, we just delete them in the DB // delete the groups not returned from LDAP, groups can NOT be deactivated, we just delete them in the DB