[Samba] Re: net groupmap add/modify script fails

John H Terpstra
Thu, 09 Jun 2005 19:40:15 -0000

On Thursday 09 June 2005 13:18, Jeremy wrote:
> > How often have you run the initGrps.sh script?
>
> Numerous times.  The fact that the groups exists is clear to me, as they
> were created on the first execution, however, this first run also produced
> the line "adding entry for group AK Stark failed!"
>
> FYI, this is Samba 3.0.14a-3 on Debian 3.1.
>
> Thanks for your prompt response John!

Stop samba, delete the /var/lib/samba/group_mapping.tdb file, then re-run the
script. There should be NO errors. Then re-start samba.

- John T.
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.