Skip to content

Commit 5089535

Browse files
committed
more default_values args
1 parent daf47de commit 5089535

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

resources/lib/UnityLDAP.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,9 @@ public function getAllPIGroupsAttributes(array $attributes, array $default_value
294294
{
295295
return $this->pi_groupOU->getChildrenArrayStrict(
296296
$attributes,
297-
default_values: $default_values,
297+
false, // non-recursive
298+
"objectClass=posixGroup",
299+
$default_values,
298300
);
299301
}
300302

@@ -412,9 +414,12 @@ public function getAllOrgGroups(
412414
return $out;
413415
}
414416

415-
public function getAllOrgGroupsAttributes(array $attributes): array
417+
public function getAllOrgGroupsAttributes(array $attributes, array $default_values): array
416418
{
417-
return $this->org_groupOU->getChildrenArrayStrict($attributes);
419+
return $this->org_groupOU->getChildrenArrayStrict(
420+
$attributes,
421+
default_values: $default_values,
422+
);
418423
}
419424

420425
public function getUserEntry(string $uid): LDAPEntry

0 commit comments

Comments
 (0)