mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
* AD Import: import was not correctly taking into account primaryGroup of users
This commit is contained in:
parent
96f9d59e50
commit
01b201a042
@ -828,7 +828,10 @@ class Import
|
|||||||
if (is_a($this->accounts, Ads::class))
|
if (is_a($this->accounts, Ads::class))
|
||||||
{
|
{
|
||||||
// ADS::members() calls the frontend, have to use ADS::getMembers() instead
|
// ADS::members() calls the frontend, have to use ADS::getMembers() instead
|
||||||
$set_members[$sql_id] = $this->accounts->getMembers($group);
|
$set_members[$sql_id] = $this->accounts->getMembers([
|
||||||
|
'account_id' => $account_id, // must be the RID ($group['account_id'] === $sql_id!)
|
||||||
|
'account_dn' => $group['account_dn'],
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user