[Samba] Group mapping question

John H Terpstra jht at samba.org
Wed Oct 5 03:57:09 GMT 2005


On Tuesday 04 October 2005 19:26, Robert Prange wrote:
> I used the following command to set users on my samba
> server (who are part of the users group) to be able to log
> into the domain on win xp clients as Administrators.
>
> net groupmap modify ntgroup="Domain Admins"
> unixgroup=users
>
> I can verify this by typing "net groupmap list."  The
> other windows groups that are listed are all set to "-1"
> as I have not set them yet.  My question is, how do I undo
> the above command?

Delete the file group_mapping.tdb, then restart samba.

- John T.

>
> I was only fooling around with group mapping, and do not
> intend to use it.  So, I would like to set everything back
> to -1.  Also, is there a control file somewhere that holds
> the group mapping information?
>
> Any help is appreciated, thanks.
>
> Robert

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list