[Samba] net groupmap list error

John H Terpstra jht at samba.org
Mon Nov 21 16:03:54 GMT 2005


On Monday 21 November 2005 08:23, mallapadi niranjan wrote:
> Hi all
>
> I have installed samba 3 and made pdc. i had added root to Domain admins,
> and a group called sambaclients to Domain users. i had changed the hostname
> of the system, now when i give the f
> following command , net groupmap list | sort. i am seeing 2 Domain Admins,
> Domain Groups,
>
> System Operators (S-1-5-32-549) -> -1
> Replicators (S-1-5-32-552) -> -1
> Guests (S-1-5-32-546) -> -1
> Domain Guests (S-1-5-21-3091284392-2213253635-2044042662-514) -> nobody
> Domain Admins (S-1-5-21-3091284392-2213253635-2044042662-512) -> root
> 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 Users (S-1-5-21-3091284392-2213253635-2044042662-513) ->
> sambaclients Domain Users (S-1-5-21-3752786733-469682067-4035343919-513) ->
> -1
> Domain Admins (S-1-5-21-3752786733-469682067-4035343919-512) -> -1
> Domain Guests (S-1-5-21-3752786733-469682067-4035343919-514) -> -1
> Backup Operators (S-1-5-32-551) -> -1
> Users (S-1-5-32-545) -> -1
>
> Can i delete 1 Domain Admins, Domain Groups, ..
>
> please suggest..

I presume you are not using an LDAP passdb backend.

Execute "net groupmap cleanup" - that should remove the rouge SIDs.

- John T.


More information about the samba mailing list