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

Paul Smith paul at gami.com
Mon Feb 26 17:02:29 GMT 2007

I'm using Samba 3.0.21b on Debian linux using a tdbsam database as a PDC
for domain ADADOM.  I have a problem with duplicate group mappings and
need to delete some, however, I don't know which one is being used.  Is
there a way I can find out which ones have no users assigned to them?

Here's the sorted output of "net groupmap list".  The last three are the
issue.  I only need one "parts" mapping and I'm pretty sure I don't need
the "users" mapping:

phoenix:~# net groupmap list
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> -1
System Operators (S-1-5-32-549) -> -1
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> -1
Account Operators (S-1-5-32-548) -> -1
Domain Admins (S-1-5-21-3597458131-155160113-1223051555-512) -> ntadmin
Domain Guests (S-1-5-21-3597458131-155160113-1223051555-514) -> nogroup
Domain Users (S-1-5-21-3597458131-155160113-1223051555-513) -> users
Accounting (S-1-5-21-3597458131-155160113-1223051555-132069) ->
Sales (S-1-5-21-3597458131-155160113-1223051555-132072) -> sales
Human Resources (S-1-5-21-3597458131-155160113-1223051555-132077) -> hr
IT (S-1-5-21-3597458131-155160113-1223051555-132071) -> it
Engineering (S-1-5-21-3597458131-155160113-1223051555-132070) ->
parts (S-1-5-21-3597458131-155160113-1223051555-132073) -> parts
users (S-1-5-21-3597458131-155160113-1223051555-132075) -> users
parts (S-1-5-21-3597458131-155160113-1223051555-132074) -> parts


More information about the samba mailing list