[Samba] Duplicate group mappings - which ones to delete?

Paul Smith paul at gami.com
Tue Mar 6 15:01:41 GMT 2007


Deleted both groups by sid and everything looks to be working fine.

Thanks Gary, Jerry.
Paul

-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org] 
Sent: Tuesday, February 27, 2007 9:03 AM
To: Paul Smith; samba at samba.org
Subject: Re: [Samba] Duplicate group mappings - which ones to delete?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

CC'ing back to list for archives.

Paul Smith wrote:

> As you can see, everything looks fine except from the two "parts"
group
> mappings and the "users" mapping:
> 
> parts (S-1-5-21-3597458131-155160113-1223051555-132073) -> parts
> parts (S-1-5-21-3597458131-155160113-1223051555-132074) -> parts
> users (S-1-5-21-3597458131-155160113-1223051555-132075) -> users
> 
>From what I remember the "net groupmap cleanup" wouldn't 
> help me here as these are legitimate, but incorrect,
> mappings.  I think I'm happy to delete the "users" mapping
> but don't quite know how to proceed with the
> "parts" duplicates.

Yup.  You are correct.  'net groupmap cleanup' won't help.
but a

  $ net groupmap delete \
      sid=S-1-5-21-3597458131-155160113-1223051555-132074

Should do the trick.






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5Eg7IR7qMdg1EfYRApf0AJ0WsbGPfmd8pWJP9L8FzkB0W9I8bwCcDhuM
0H6V0nXqe2Ilm8/FV45IO/4=
=fzX6
-----END PGP SIGNATURE-----



More information about the samba mailing list