[Samba] usrmgr: group not found.

Asbjørn Morell atmorell at gmail.com
Fri Oct 21 12:51:07 GMT 2005


 Hello Koenraad Lelong
 I am not sure if the command is correct. I did a fresh gentoo insallation
and used the provided smb.conf.example file. This stuff is poorly
documentated! Please let me know if you get it working.
 Best regards.
Asbjørn Morell.

 On 10/21/05, Koenraad Lelong <samba.k.lelong at ace-electronics.be> wrote:
>
> Asbjørn Morell schreef:
> > Hello.
> > usrmgr gives me this error, if I try to create or modify a user:
> > The group name could not be found.
> > I can create and modify groups with no errors!. This is my smb.conf:
> >
> > [global]
> ...
> > addusertogroupscript = /usr/bin/gpasswd -a '%u' '%g'
> ...
> > deleteuserfromgroupscript = /usr/bin/gpasswd -d '%u' '%g'
> ...
> Are those commands OK ? man gpasswd say this command is to change the
> group password (SuSE 9.3). I don't know (yet) what command has to be
> used, but thanks to this post I can finally add users (with the same
> error-message as you, but they are created !) and groups.
> So, thanks for your smb.conf, that was a big step forward for me.
> P.S. Shouldn't those commands (useradd, userdel, groupadd, groupdel
> etc.) be mentioned in the By-Example book ?
> Regards,
> Koenraad Lelong
> ACE electronics
>



--

Mvh Asbjørn Morell


More information about the samba mailing list