You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting all members in group recursively chunked ?
#408
I'm having issues with chunking results from a LdapRecord\Models\ActiveDirectory\Group query.
For some reason, might me working as intended, I only get the Groups not the Members of the Groups when doing
ends up with $orig containing both LdapRecord\Models\ActiveDirectory\Group and LdapRecord\Models\ActiveDirectory\User objects ?
I'm out go get all members recursively, a.k.a. that is member of $groupName or any group that is member of $groupName.
Edit:
Actually further testing shows that chunk seem to completely overwrite recursive.
I did a test with $ldapGroup->members()->recursive()->each instead but ended up with the whole ldap tree instead of the selected group.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm having issues with chunking results from a
LdapRecord\Models\ActiveDirectory\Groupquery.For some reason, might me working as intended, I only get the Groups not the Members of the Groups when doing
this result in
$objectsonly containingLdapRecord\Models\ActiveDirectory\Groupobjects.When doing the same query but skipping chunk
ends up with
$origcontaining bothLdapRecord\Models\ActiveDirectory\GroupandLdapRecord\Models\ActiveDirectory\Userobjects ?I'm out go get all members recursively, a.k.a. that is member of
$groupNameor any group that is member of$groupName.Edit:
Actually further testing shows that
chunkseem to completely overwriterecursive.I did a test with
$ldapGroup->members()->recursive()->eachinstead but ended up with the whole ldap tree instead of the selected group.All reactions