Vincent Régnard a écrit :
** on 3.0.25:
[EMAIL PROTECTED]:/tmp# net groupmap add
sid="S-1-5-21-774874489-2272698005-2144578956" rid=512 ntgroup="Domain
Admins" unixgroup="smbadmins" type=b
Successfully added group Domain Admins to the mapping db as a wellknown
group
But:
[EMAIL PROTECTED]:/tmp# net groupmap list Domain Admins
(S-1-5-21-774874489-2272698005-2144578956) -> smbadmins
No rid shows up ? (same with type domain option)
After a few more tests, I realize I have to write explicitly the RID in
the SID string to get it work properly:
[EMAIL PROTECTED]:/tmp# net groupmap add
sid="S-1-5-21-774874489-2272698005-2144578956-512" ntgroup="Domain
Admins" unixgroup="smbadmins" type=b
or this way also works:
[EMAIL PROTECTED]:/tmp# net groupmap add rid=512 ntgroup="Domain
Admins" unixgroup="smbadmins" type=b
It was not clear to me at first glance but now works as expected ;)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba