Group Mapping MS Windows and UNIX

Posted on August 21st, 2008 by id_provoke.
Categories: Uncategorized.

As usual I’m allways visite my blog to read the manual from samba, because i had always got the problem from samba. So i wrote the documentation, I know I will have to come back here to find it hehehe :D

The following steps describe how to make Samba PDC users members of the Domain Admins group.

1. Create a UNIX group (usually in /etc/group); let’s call it domadm.
2. Add to this group the users that must be “Administrators”. For example, if you want joe, john, and mary to be administrators, your entry in /etc/group will look like this:

ntadmin:x:502:henry,flubber

3. Map this domadm group to the “Domain Admins” group by executing the command:

# net groupmap add ntgroup=”Domain Admins” unixgroup=ntadmin rid=512 type=d

The quotes around “Domain Admins” are necessary due to the space in the group name. Also make sure to leave no white space surrounding the equal character (=).

(more…)

no comments yet.