[Samba] See if authenticated user is in group XYZ

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 7 21:21:47 GMT 2006

On Wed, Jun 07, 2006 at 01:05:26PM -0400, Jeremiah Martell wrote:
> I have winbindd running.
> I run wbinfo -a userXYZ%pass and it succeeds
> Now I want to know if userXYZ is in group "monkeys", but I dont want
> to have to have to map anything. Is this possible? Is there a way to
> just say "give me the windows group names that userXYZ is in?" or "is
> userXYZ in windows group name 'monkeys'?"

wbinfo --user-sids might help here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060607/ebb983df/attachment.bin

More information about the samba mailing list