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

Gerald (Jerry) Carter jerry at samba.org
Tue Feb 27 15:03:23 GMT 2007


-----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