[Samba] rids disappeared from net groupmap list output
Hi all, I used to see clearly rids in groupmaps whith my old 3.0.20. I am planning to switch to 3.0.25 but when I create the wellknowns and other groupmaps the same way as I did before, rid seams not to show up anymore: ** on 3.0.20 I can read my groupmap rids (512 here): [EMAIL PROTECTED] net groupmap list Domain Admins (S-1-5-21-362411026-3941723405-3168679234-512) - smbadmin ** 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) Is this a normal expected behaviour ? Or should I still have the rid appear as before ? Did I misuse the configuration tools or missed something ? Thanks for your comments. Vincent -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] rids disappeared from net groupmap list output
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
Re: [Samba] rids disappeared from net groupmap list output
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent Régnard wrote: [EMAIL PROTECTED]:/tmp# net groupmap add sid=S-1-5-21-774874489-2272698005-2144578956 rid=512 ntgroup=Domain Admins unixgroup=smbadmins type=b When adding a nwe mapping, only define either the SID or the RID. Not both. This requirement has not changed. cheers, jerry = Samba--- http://www.samba.org Centeris --- http://www.centeris.com What man is a man who does not make the world better? --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGTciuIR7qMdg1EfYRApPRAKDZl9k+VivTAnDwzyOogofMJ7YPuwCgonhc jZeT1qWeQS7UJjrevMWyT1U= =3x2/ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba