Casey Lewis
2003-May-13 00:19 UTC
[Samba] strange Samba - NT4 domain connectivity problem.
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
Casey Lewis
2003-May-16 14:44 UTC
[Samba] strange Samba - NT4 domain connectivity problem.
I'm wondering if this has something to do with WINS? The reason I ask is that we are only running one WINS box and its the PDC. We do have a BDC, but no WINS running. Anyone having a similar problem? Thanks, -casey> 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.> > > S N I P > > >
Chris McKeever
2003-May-18 03:22 UTC
[Samba] strange Samba - NT4 domain connectivity problem.
Richard..thanks for that comment...I was having a weird issue with a samba wins issue and it not restarting after I send a service smb restart, and it must be this same issue!!! Thanks for verifying this for me> -----Original Message----- > From: richard [mailto:rcoates@bigpond.net.au] > Sent: Saturday, May 17, 2003 3:48 AM > To: Casey Lewis > Cc: samba@lists.samba.org > Subject: Re: [Samba] strange Samba - NT4 domain connectivity problem. > > > I have noticed on Redhat that if I do.. service smb restart > smbd is restarted but nmbd is not. Could this be your problem? > > On Sat, 2003-05-17 at 00:44, Casey Lewis wrote: > > I'm wondering if this has something to do with WINS? The > reason I ask is > > that we are only running one WINS box and its the PDC. We > do have a BDC, > > but no WINS running. > > Anyone having a similar problem? > > Thanks, > > -casey > > > > > > > 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. > > > > > > > S N I P > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >