[Samba] Fail in add user script

Šopík Bronislav xsopik00 at stud.fit.vutbr.cz
Mon Oct 25 08:58:29 GMT 2004

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