Hi all,

Hopefully this is a simple one - I'm trying to work out how to get a
list of users in a certain group.  If I have the following set up in
Active Directory:

  Group1
   - UserA
   - UserB

  Group2
   - UserC
   - UserD

  AllGroups
   - Group1
   - Group2
   - UserX

Then I want to be able to say "List all users in the AllGroups group"
and I should get UserA,B,C,D and UserX returned.

I'm not sure how to go about this - wbinfo only seems able to return
the groups a single user is a member of, and 'getent group' only
returns people specifically in that group (i.e. "getent group
AllGroups" only returns UserX, it ignores the nested groups, even
if "winbind nested groups = yes" in smb.conf.)

Any ideas how to list *all* the users in a specific group?

Thanks,
Adam.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to