[Samba] how to remove duplicate enteries in group mappings

Siju George sgeorge.ml at gmail.com
Fri Jun 30 10:01:55 GMT 2006

       How do I remove duplicate entries i.e three Domain Admins,
three Domain users etc
(see below) from the mapping ? I don't know how they got in. Its a PDC
and hifxchn2 is the domain its serving.

hifxpms# net getlocalsid
SID for domain HIFXCHN2DC is: S-1-5-21-4181122055-2308696302-1997331312

hifxpms# net groupmap list
System Operators (S-1-5-32-549) -> operator
Domain Users (S-1-5-21-2182994827-4069976071-3934765176-513) -> samba
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> guest
Domain Users (S-1-5-21-4181122055-2308696302-1997331312-513) -> samba
Power Users (S-1-5-32-547) -> -1
Print Operators (S-1-5-32-550) -> -1
Administrators (S-1-5-32-544) -> wheel
Domain Admins (S-1-5-21-2182994827-4069976071-3934765176-512) -> wheel
Domain Guests (S-1-5-21-2182994827-4069976071-3934765176-514) -> nobody
Account Operators (S-1-5-32-548) -> -1
Domain Guests (S-1-5-21-186134277-3866514730-3384059338-514) -> -1
Domain Admins (S-1-5-21-4181122055-2308696302-1997331312-512) -> wheel
Domain Users (S-1-5-21-186134277-3866514730-3384059338-513) -> -1
Domain Guests (S-1-5-21-4181122055-2308696302-1997331312-514) -> -1
Backup Operators (S-1-5-32-551) -> -1
Users (S-1-5-32-545) -> samba
Domain Users (S-1-5-21-2957375268-566120414-1350934788-513) -> -1
Domain Admins (S-1-5-21-2957375268-566120414-1350934788-512) -> -1
Domain Guests (S-1-5-21-2957375268-566120414-1350934788-514) -> -1

The other SID's correspond to other domain's served by win2k3 and
another Samba PDC.

Thankyou so much

Kind regards


More information about the samba mailing list