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
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
Run "/usr/sbin/useradd -m veronika" from the command line and see what error prevents it from creating such a user. Igor ?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