[Samba] Getting info from Windows AD 2003 domain

John H Terpstra jht at samba.org
Sat Jun 28 04:29:59 GMT 2008


On Friday 27 June 2008 23:08:31 Brian Campbell wrote:
> I have samba set up and installed on a ubuntu server with winbind running
> and joined to the domain. I can successfully return a list of all users
> (wbinfo -u) and all groups (wbinfo -g) from the domain. My question is
> this: Is it possible (and if so how) to use wbinfo to retrieve a list of
> users for a specific group only (as opposed to the whole domain users
> listed with the -u option)? Stated another way I would like to get the
> members of a Windows group called foo through the use of samba and put
> those users into a list on the linux side.

Suggest you check out chapter 7 of Samba3-ByExample. Email me direct if this 
does not satisfy your needs.

http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Cheers,
John T.


More information about the samba mailing list