[Samba] net groupmap list error

Michael Billerbeck billerbeck at adesso.de
Mon Nov 21 16:33:24 GMT 2005


Hello List,

samba-bounces+billerbeck=adesso.de at lists.samba.org schrieb am 21.11.2005
17:03:54:

> 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,
> >
> > [...]
> >
> > 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.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
I've made a copy of the file "group_mapping.tdb" and deleted the original
file.
Then I have seen the standard groups which were mapped to -1 (no group) and
mapped
them to the unix groups they were mapped before. After that I have seen
that there
is "net groupmap cleanup". Is this the better way to cleanup the
groupmapping?
Do I have to stop the daemons (nmbd and smbd) before and start them after?
We use
tdbsam as passdb backend.

Michael



More information about the samba mailing list