[Samba] NT account locking out

Nidhi_Seth at contractor.amat.com Nidhi_Seth at contractor.amat.com
Wed Nov 26 20:52:54 GMT 2003


Hi

I have Win2k servers connecting to the samba server by mapping a windows 
user to unix user.

We never had any problems with thsi connectivity but for past 2 weeks we 
have an erratic problem which causes the windows account to lock thus 
making samba unfunctional. When I get the windows account unlocked then 
samba starts functioning properly again.

I do not have a scenario to reproduce the problem and it appears once in 2 
days or sometimes thrice in a day. This architecture was working for past 
2 years without problems.

When the error comes samba logs the following:

[2003/11/26 11:28:43, 0] lib/util_sock.c:write_socket_data(542)
  write_socket_data: write failure. Error = Broken pipe
[2003/11/26 11:28:43, 0] lib/util_sock.c:write_socket(566)
  write_socket: Error writing 172 bytes to socket 22: ERRNO = Broken pipe
[2003/11/26 11:28:43, 1] libsmb/cliconnect.c:cli_establish_connection(754)
  failed session setup
[2003/11/26 11:28:43, 0] libsmb/clientgen.c:cli_send_smb(89)
  Error writing 172 bytes to client. -1
[2003/11/26 11:29:03, 1] smbd/password.c:server_validate(1227)
  password server  rejected the password
[2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpa
sswd. Error was No such file or directory
[2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2003/11/26 11:29:03, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'ecollprd' in passdb.
[2003/11/26 11:29:03, 2] smbd/reply.c:reply_sesssetup_and_X(970)
  NT Password did not match for user 'ecollprd'!
[2003/11/26 11:29:03, 2] smbd/reply.c:reply_sesssetup_and_X(980)
  Defaulting to Lanman password for ecollprd
[2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpa
sswd. Error was No such file or directory
[2003/11/26 11:29:03, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2003/11/26 11:29:03, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'ecollprd' in passdb.
[2003/11/26 11:29:03, 1] smbd/reply.c:reply_sesssetup_and_X(995)
  Rejecting user 'ecollprd': authentication failed
[2003/11/26 11:29:04, 1] smbd/password.c:server_validate(1227)
  password server  rejected the password
[2003/11/26 11:29:04, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpa
sswd. Error was No such file or directory
[2003/11/26 11:29:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2003/11/26 11:29:04, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'ecollprd' in passdb.
[2003/11/26 11:29:04, 2] smbd/reply.c:reply_sesssetup_and_X(970)
  NT Password did not match for user 'ecollprd'!
[2003/11/26 11:29:04, 2] smbd/reply.c:reply_sesssetup_and_X(980)
  Defaulting to Lanman password for ecollprd
[2003/11/26 11:29:04, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpa
sswd. Error was No such file or directory
[2003/11/26 11:29:04, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2003/11/26 11:29:04, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'ecollprd' in passdb.
[2003/11/26 11:29:04, 1] smbd/reply.c:reply_sesssetup_and_X(995)
  Rejecting user 'ecollprd': authentication failed
[2003/11/26 11:29:08, 1] smbd/password.c:server_validate(1227)
  password server  rejected the password
[2003/11/26 11:29:08, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)

Please let me know if someone has faced the same problem.

Thanks in advance...


Regards

Nidhi Seth





More information about the samba mailing list