[Samba] Re: Fail in add user script

Igor Belyi sambauser at katehok.ac93.org
Mon Oct 25 15:39:47 GMT 2004

Run "/usr/sbin/useradd -m veronika" from the command line and see what 
error prevents it from creating such a user.


Šopík Bronislav wrote:
> Dear all,
> I have a problem with adduser script in smb.conf.
> I traing to log in WinXP as a user from trusted domain. But it writes
> me alwais this fail:
> useradd: unable to lock password file
> [2004/10/21 14:00:53, 3] auth/auth_util.c:smb_create_user(53)
>   smb_create_user: Running the command `/usr/sbin/useradd -m veronika'
> gave 1
> My add user script in smb.conf:
> add user script = /usr/sbin/useradd -m %u
> Please can you help me??
> Best regards, Sopik Bronislav

More information about the samba mailing list