mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
* AD Import: import was not correctly taking into account primaryGroup of users
This commit is contained in:
parent
e895947a02
commit
e9dec0d5fc
@ -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