[Samba] Authentication fails sometimes

Juergen Hasch Hasch at t-online.de
Fri Mar 22 09:33:17 GMT 2002


Hi,

I'm running a Samba server with 2.2 CVS in a W2K domain with
 workgroup = DOM0
 security = domain
 password server = PWDSRV

Authentication works most of the time, but sometimes a user isn't
getting authenticated.
The password server seems to return NT_STATUS_PIPE_NOT_AVAILABLE.
What does this error mean ?

I have a small script which periodically tries "smbclient -L //puma"
and I get an error only very few times with no recognizable pattern.

Below is a level 3 logfile showing the problem:

[2002/03/22 14:11:06, 3] lib/util_sock.c:open_socket_in(815)
  bind succeeded on port 0
[2002/03/22 14:11:06, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(295)
  Linux kernel oplocks enabled
[2002/03/22 14:11:06, 3] smbd/oplock.c:init_oplocks(1215)
  open_oplock ipc: pid = 20761, global_oplock_port = 32883
[2002/03/22 14:11:06, 3] smbd/process.c:process_smb(860)
  Transaction 0 of length 76
[2002/03/22 14:11:06, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=PUMA             name2=PUMA           
[2002/03/22 14:11:06, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=puma remote=puma
[2002/03/22 14:11:06, 3] smbd/process.c:process_smb(860)
  Transaction 1 of length 168
[2002/03/22 14:11:06, 3] smbd/process.c:switch_message(667)
  switch message SMBnegprot (pid 20761)
[2002/03/22 14:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LANMAN1.0]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LM1.2X002]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [Samba]
[2002/03/22 14:11:06, 3] smbd/negprot.c:reply_negprot(426)
  Selected protocol NT LANMAN 1.0
[2002/03/22 14:11:06, 3] smbd/process.c:process_smb(860)
  Transaction 2 of length 138
[2002/03/22 14:11:06, 3] smbd/process.c:switch_message(667)
  switch message SMBsesssetupX (pid 20761)
[2002/03/22 14:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/03/22 14:11:06, 3] smbd/reply.c:reply_sesssetup_and_X(848)
  Domain=[DOM0]  NativeOS=[Unix] NativeLanMan=[Samba]
[2002/03/22 14:11:06, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  sesssetupX:name=[HASCH]
[2002/03/22 14:11:06, 3] libsmb/namequery.c:resolve_lmhosts(752)
  resolve_lmhosts: Attempting lmhosts lookup for name PWDSRV<0x20>
[2002/03/22 14:11:06, 3] libsmb/namequery.c:resolve_hosts(792)
  resolve_hosts: Attempting host lookup for name PWDSRV<0x20>
[2002/03/22 14:11:06, 3] lib/util_sock.c:open_socket_out(847)
  Connecting to 192.168.0.54 at port 445
[2002/03/22 14:11:06, 0] rpc_client/cli_pipe.c:cli_nt_session_open(1202)
  cli_nt_session_open: cli_nt_create failed on pipe \NETLOGON to machine 
PDWSRV.  Error was NT_STATUS_PIPE_NOT_AVAILABLE
[2002/03/22 14:11:06, 0] 
smbd/password.c:connect_to_domain_password_server(1326)
  connect_to_domain_password_server: unable to open the domain client session 
to machine PDWSRV. Error was : NT_STATUS_PIPE_NOT_AVAILABLE.
[2002/03/22 14:11:06, 0] smbd/password.c:domain_client_validate(1557)
  domain_client_validate: Domain password server not available.
[2002/03/22 14:11:06, 1] smbd/password.c:pass_check_smb(536)
  Couldn't find user 'hasch' in passdb.
[2002/03/22 14:11:06, 2] smbd/reply.c:reply_sesssetup_and_X(962)
  NT Password did not match for user 'hasch'!
[2002/03/22 14:11:06, 2] smbd/reply.c:reply_sesssetup_and_X(972)
  Defaulting to Lanman password for hasch
[2002/03/22 14:11:06, 1] smbd/password.c:pass_check_smb(536)
  Couldn't find user 'hasch' in passdb.
[2002/03/22 14:11:06, 1] smbd/reply.c:reply_sesssetup_and_X(988)
  Rejecting user 'hasch': authentication failed
[2002/03/22 14:11:06, 3] smbd/error.c:error_packet(110)
  error packet at smbd/reply.c(990) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE
[2002/03/22 14:11:06, 3] smbd/process.c:timeout_processing(1085)
  end of file from client
[2002/03/22 14:11:06, 3] smbd/sec_ctx.c:set_sec_ctx(314)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/03/22 14:11:06, 2] smbd/server.c:exit_server(458)
  Closing connections
[2002/03/22 14:11:06, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to 
[2002/03/22 14:11:06, 3] smbd/server.c:exit_server(492)
  Server exit (normal exit)





More information about the samba mailing list