[Samba] strange Samba - NT4 domain connectivity problem.

Casey Lewis clewis at rrpartners.com
Tue May 13 00:19:52 GMT 2003


Hi all.
I'm having a strange intermittent problem with Samba 2.2.8a losing 
connectivity with our PDC and BDC. We are currently having a problem 
with our PDC restarting due to a bug check about 2-3 times a month.
When this happens and the PDC is restarted or anytime it is restarted, 
we are not able to map shares on any of our 5 servers using samba 2.2.8a 
- the fix is to kill smbd and nmbd and restart both.

Once this is done we are able to map the drives again. Its hard to 
troubleshoot it since when it stops working users start complaining ;)
but I have been able to grab a little bit from our samba logs and also a 
snippet from smb.conf
Here's what is in the log when a user tries to auth during this time:

 > > >   S T A R T   S M B   L O G   > > >
[2003/04/25 11:35:18, 3] smbd/process.c:process_smb(846)
  Transaction 2477 of length 192
[2003/04/25 11:35:18, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 3648)
[2003/04/25 11:35:18, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/04/25 11:35:18, 3] smbd/reply.c:reply_sesssetup_and_X(880)
  Domain=[RR]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2003/04/25 11:35:18, 3] smbd/reply.c:reply_sesssetup_and_X(890)
  sesssetupX:name=[CASEYL]
[2003/04/25 11:35:18, 1] smbd/password.c:server_validate(1102)
  password server  is not connected
[2003/04/25 11:35:18, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2003/04/25 11:35:18, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
  unable to open passdb database.
[2003/04/25 11:35:18, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'caseyl' in passdb.
[2003/04/25 11:35:18, 2] smbd/reply.c:reply_sesssetup_and_X(997)
  NT Password did not match for user 'caseyl'!
[2003/04/25 11:35:18, 2] smbd/reply.c:reply_sesssetup_and_X(1007)
  Defaulting to Lanman password for caseyl
[2003/04/25 11:35:18, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2003/04/25 11:35:18, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
  unable to open passdb database.
[2003/04/25 11:35:18, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'caseyl' in passdb.
[2003/04/25 11:35:18, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
  Rejecting user 'caseyl': authentication failed
[2003/04/25 11:35:18, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/04/25 11:35:18, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(1025) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE
[2003/04/25 11:35:18, 3] smbd/process.c:process_smb(846)
  Transaction 2478 of length 191
[2003/04/25 11:35:18, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 3648)
[2003/04/25 11:35:18, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/04/25 11:35:18, 3] smbd/reply.c:reply_sesssetup_and_X(880)
  Domain=[RR]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2003/04/25 11:35:18, 3] smbd/reply.c:reply_sesssetup_and_X(890)
  sesssetupX:name=[CASEYL]
[2003/04/25 11:35:18, 1] smbd/password.c:server_validate(1102)
  password server  is not connected
[2003/04/25 11:35:18, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2003/04/25 11:35:18, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
  unable to open passdb database.
[2003/04/25 11:35:18, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'caseyl' in passdb.
[2003/04/25 11:35:18, 2] smbd/reply.c:reply_sesssetup_and_X(997)
  NT Password did not match for user 'caseyl'!
[2003/04/25 11:35:18, 2] smbd/reply.c:reply_sesssetup_and_X(1007)
  Defaulting to Lanman password for caseyl
[2003/04/25 11:35:18, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file 
/usr/local/samba/private/smbpasswd. Error was No such file or directory
[2003/04/25 11:35:18, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
  unable to open passdb database.
[2003/04/25 11:35:18, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'caseyl' in passdb.
[2003/04/25 11:35:18, 1] smbd/reply.c:reply_sesssetup_and_X(1023)
  Rejecting user 'caseyl': authentication failed
[2003/04/25 11:35:18, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/04/25 11:35:18, 3] smbd/error.c:error_packet(113)  error packet at 
smbd/reply.c(1025) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE

 > > >   E N D   S M B   L O G   > > >

>>> SMB.CONF snippet >>>
security = server
password server = rrpdc1 lasdc01
encrypt passwords = yes
domain master = no 
>>> END SMB.CONF snippet >>>


TIA,
-caseyl




More information about the samba mailing list