[Samba] Fail in add user script
Denis Vlasenko
vda at port.imtp.ilyichevsk.odessa.ua
Mon Oct 25 09:14:33 GMT 2004
On Monday 25 October 2004 11:58, Š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??
Hack useradd (it most prolly a shell script)
and make version which has no such problem.
--
vda
More information about the samba
mailing list