[Samba] net groupmap list error

John H Terpstra jht at samba.org
Mon Nov 21 17:29:35 GMT 2005


On Monday 21 November 2005 09:33, Michael Billerbeck wrote:
> > >
> > > 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?

Yes, only because it saves you from having to re-create the mappings.

> Do I have to stop the daemons (nmbd and smbd) before and start them after?
> We use tdbsam as passdb backend.

No.

- John T.


More information about the samba mailing list