[Samba] Listing groups in the AD

Gabriel Tabares-Barreiro gabriel.tabares-barreiro at ri3k.com
Tue May 8 11:43:44 GMT 2007

I am having some issues with the mapping of groups. I want to map one AD
group to one unix group (don't care much about the rest), but the
problem is that I can't find the group.

The Linux machine I am using is part of the AD already and I can get
users to log in via winbind authentication but I need to restrict who
can log in.

If I do 
net groupmap modify ntgroup="Linux Users" unixgroup="deploy" -U
I get an error telling me that the group doesn't exist.

If I do
net groupmap list
I get a list of groups that seem to correspond to the built-in ones, no
matter if i use -U administrator or not

If I do 
net group -U administrator
I then get all the groups, including the one I want to map.

Can anyone give me a hint on why is this happening?

I am using samba-3.0.10-1.4E.11 on CentOS 4.



This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although RI3K believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and RI3K does not accept any responsibility for any loss or damage in any way from its use.

RI3K Limited is a company registered in England no: 3909745.  Registered office 10, Ely Place, London, EC1N 6RY.   VAT registration no: 769 0192 07

More information about the samba mailing list