[Samba] A device attached to the system is not functioning

Hiu Yen Onn yohiu at shinyang.com.my
Thu Nov 18 04:10:27 GMT 2004


hi,

i have this in my log file, after i have raise the log level.
--------------------------------------------------------------------------
[2004/11/18 09:59:32, 0] lib/util_sock.c:get_peer_addr(952)
  getpeername failed. Error was Transport endpoint is not connected
[2004/11/18 09:59:32, 0] lib/util_sock.c:write_socket_data(388)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/11/18 09:59:32, 0] lib/util_sock.c:write_socket(413)
  write_socket: Error writing 4 bytes to socket 17: ERRNO = Connection 
reset by peer
[2004/11/18 09:59:32, 0] lib/util_sock.c:send_smb(605)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 2] smbd/server.c:exit_server(558)
  Closing connections
[2004/11/18 09:59:32, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user 
[]\[]@[YENONN] with the new password interface
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [SHINYANG]\[]@[YENONN]
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/server.c:exit_server(601)
  Server exit (process_smb: send_smb failed.)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(235)
  fetch sid from gid cache 99 -> 
S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: guest authentication for user [] succeeded
[2004/11/18 09:59:32, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
  NTLMSSP Sign/Seal - Initialising with flags:
[2004/11/18 09:59:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2004/11/18 09:59:32, 3] smbd/password.c:register_vuid(221)
  User name: nobody    Real name: nobody
[2004/11/18 09:59:32, 3] smbd/password.c:register_vuid(240)
  UNIX uid 99 is UNIX user nobody, and will be vuid 100
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 3 of length 80
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/service.c:make_connection_snum(543)
  Connect path is '/tmp' for service [IPC$]
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(251)
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3447136413-2320333403-873454024-501
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(251)
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3447136413-2320333403-873454024-501
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/service.c:make_connection_snum(705)
  yenonn (172.16.0.223) connect to service IPC$ initially as user nobody 
(uid=99, gid=99) (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/reply.c:reply_tcon_and_X(326)
  tconX service=IPC$
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 4 of length 108
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/nttrans.c:nt_open_pipe(503)
  nt_open_pipe: Known pipe NETLOGON opening.
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 5 of length 180
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(860)
  api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:check_bind_req(732)
  check_bind_req for \PIPE\NETLOGON
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75aa nwritten=112
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 6 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75aa min=1024 max=1024 nread=88
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 7 of length 452
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 2] rpc_parse/parse_prs.c:netsec_decode(1575)
  netsec_decode: FAILED: packet sequence number:
[2004/11/18 09:59:32, 2] lib/util.c:dump_data(1852)
  [000] 1D 4E A6 C3 EB 4B 0B 78                           .N...K.x
[2004/11/18 09:59:32, 2] rpc_parse/parse_prs.c:netsec_decode(1577)
  should be:
[2004/11/18 09:59:32, 2] lib/util.c:dump_data(1852)
  [000] 00 00 00 00 80 00 00 00                           ........
[2004/11/18 09:59:32, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1371)
  failed to decode PDU
[2004/11/18 09:59:32, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
  process_request_pdu: failed to do schannel processing.
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:process_complete_pdu(752)
  process_complete_pdu: DCE/RPC fault sent on pipe lsass
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75aa nwritten=384
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 8 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75aa min=1024 max=1024 nread=32
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 9 of length 45
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 8110)
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 10 of length 108
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/nttrans.c:nt_open_pipe(503)
  nt_open_pipe: Known pipe NETLOGON opening.
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 11 of length 140
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(860)
  api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:check_bind_req(732)
  check_bind_req for \PIPE\NETLOGON
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ab nwritten=72
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 12 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ab min=1024 max=1024 nread=68
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 13 of length 158
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: NET_REQCHAL
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 30
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ab nwritten=90
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 14 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ab min=1024 max=1024 nread=36
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 15 of length 196
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ab nwritten=128
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 16 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ab min=1024 max=1024 nread=32
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 17 of length 196
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: NET_AUTH2
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: YENONN$
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 46
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ab nwritten=128
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 18 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ab min=1024 max=1024 nread=40
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 19 of length 240
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X(638)
  wct=12 flg2=0xc807
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(518)
  Doing spnego session setup
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(549)
  NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 
5.1] PrimaryDomain=[]
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_spnego_negotiate(427)
  Got OID 1 3 6 1 4 1 311 2 2 10
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_spnego_negotiate(430)
  Got secblob of size 40
[2004/11/18 09:59:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xe2088297
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 20 of length 274
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X(638)
  wct=12 flg2=0xc807
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(518)
  Doing spnego session setup
[2004/11/18 09:59:32, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(549)
  NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 
5.1] PrimaryDomain=[]
[2004/11/18 09:59:32, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(616)
  Got user=[] domain=[] workstation=[YENONN] len1=1 len2=0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user 
[]\[]@[YENONN] with the new password interface
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [SHINYANG]\[]@[YENONN]
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(235)
  fetch sid from gid cache 99 -> 
S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(235)
  fetch sid from gid cache 99 -> 
S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: guest authentication for user [] succeeded
[2004/11/18 09:59:32, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
  NTLMSSP Sign/Seal - Initialising with flags:
[2004/11/18 09:59:32, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2004/11/18 09:59:32, 3] smbd/password.c:register_vuid(221)
  User name: nobody    Real name: nobody
[2004/11/18 09:59:32, 3] smbd/password.c:register_vuid(240)
  UNIX uid 99 is UNIX user nobody, and will be vuid 101
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 21 of length 80
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/service.c:make_connection_snum(543)
  Connect path is '/tmp' for service [IPC$]
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(251)
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3447136413-2320333403-873454024-501
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] smbd/vfs.c:vfs_init_default(203)
  Initialising default vfs hooks
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(251)
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3447136413-2320333403-873454024-501
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/service.c:make_connection_snum(705)
  yenonn (172.16.0.223) connect to service IPC$ initially as user nobody 
(uid=99, gid=99) (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/reply.c:reply_tcon_and_X(326)
  tconX service=IPC$
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 22 of length 104
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/nttrans.c:nt_open_pipe(503)
  nt_open_pipe: Known pipe lsarpc opening.
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 23 of length 140
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(860)
  api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsass
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:check_bind_req(732)
  check_bind_req for \PIPE\lsarpc
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ac nwritten=72
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 24 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ac min=1024 max=1024 nread=68
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 25 of length 152
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: LSA_OPENPOLICY2
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(251)
[2004/11/18 09:59:32, 3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-3447136413-2320333403-873454024-501
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-514
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
  se_access_check: also S-1-5-21-3447136413-2320333403-873454024-1199
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 816
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ac nwritten=84
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 26 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ac min=1024 max=1024 nread=48
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 27 of length 120
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: LSA_ENUMTRUSTDOM
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 464
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ac nwritten=52
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 28 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ac min=1024 max=1024 nread=40
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 29 of length 112
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: LSA_CLOSE
[2004/11/18 09:59:32, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(200)
  Closed policy
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ac nwritten=44
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 30 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ac min=1024 max=1024 nread=48
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 31 of length 45
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 8110)
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 32 of length 108
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBntcreateX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/nttrans.c:nt_open_pipe(503)
  nt_open_pipe: Known pipe NETLOGON opening.
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 33 of length 180
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(860)
  api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:check_bind_req(732)
  check_bind_req for \PIPE\NETLOGON
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ad nwritten=112
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 34 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ad min=1024 max=1024 nread=88
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 35 of length 404
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBwriteX (pid 8110)
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
  api_rpcTNP: rpc command: NET_SAMLOGON
[2004/11/18 09:59:32, 3] rpc_server/srv_netlog_nt.c:_net_sam_logon(570)
  SAM Logon (Interactive). Domain:[SHINYANG].  User:[yohiu at YENONN] 
Requested Domain:[SHINYANG]
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user 
[SHINYANG]\[yohiu]@[YENONN] with the new password interface
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [SHINYANG]\[yohiu]@[YENONN]
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 2] passdb/pdb_ldap.c:init_sam_from_ldap(462)
  init_sam_from_ldap: Entry found for user: yohiu
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 2] passdb/pdb_ldap.c:init_group_from_ldap(1697)
  init_group_from_ldap: Entry found for group: 513
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(235)
  fetch sid from gid cache 513 -> 
S-1-5-21-1911238739-97561441-2706018148-513
[2004/11/18 09:59:32, 3] auth/auth.c:check_ntlm_password(268)
  check_ntlm_password: sam authentication for user [yohiu] succeeded
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/uid.c:push_conn_ctx(287)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2004/11/18 09:59:32, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:32, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [yohiu] -> [yohiu] -> 
[yohiu] succeeded
[2004/11/18 09:59:32, 1] rpc_server/srv_netlog_nt.c:_net_sam_logon(705)
  _net_sam_logon: user SHINYANG\yohiu has user sid 
S-1-5-21-3447136413-2320333403-873454024-3006
   but group sid S-1-5-21-1911238739-97561441-2706018148-513.
  The conflicting domain portions are not supported for NETLOGON calls
[2004/11/18 09:59:32, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 646
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
  writeX-IPC pnum=75ad nwritten=336
[2004/11/18 09:59:32, 3] smbd/process.c:process_smb(890)
  Transaction 36 of length 63
[2004/11/18 09:59:32, 3] smbd/process.c:switch_message(685)
  switch message SMBreadX (pid 8110)
[2004/11/18 09:59:32, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
  readX-IPC pnum=75ad min=1024 max=1024 nread=96
[2004/11/18 09:59:44, 3] smbd/process.c:process_smb(890)
  Transaction 37 of length 43
[2004/11/18 09:59:44, 3] smbd/process.c:switch_message(685)
  switch message SMBulogoffX (pid 8110)
[2004/11/18 09:59:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:44, 3] smbd/reply.c:reply_ulogoffX(1108)
  ulogoffX vuid=101
[2004/11/18 09:59:44, 3] smbd/process.c:process_smb(890)
  Transaction 38 of length 39
[2004/11/18 09:59:44, 3] smbd/process.c:switch_message(685)
  switch message SMBtdis (pid 8110)
[2004/11/18 09:59:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 09:59:44, 3] smbd/service.c:close_cnum(887)
  yenonn (172.16.0.223) closed connection to service IPC$
[2004/11/18 09:59:44, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2004/11/18 09:59:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:08, 3] smbd/process.c:process_smb(890)
  Transaction 39 of length 45
[2004/11/18 10:00:08, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 8110)
[2004/11/18 10:00:08, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:08, 3] smbd/process.c:process_smb(890)
  Transaction 40 of length 45
[2004/11/18 10:00:08, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 8110)
[2004/11/18 10:00:20, 3] smbd/process.c:process_smb(890)
  Transaction 41 of length 43
[2004/11/18 10:00:20, 3] smbd/process.c:switch_message(685)
  switch message SMBulogoffX (pid 8110)
[2004/11/18 10:00:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:20, 3] smbd/reply.c:reply_ulogoffX(1108)
  ulogoffX vuid=100
[2004/11/18 10:00:20, 3] smbd/process.c:process_smb(890)
  Transaction 42 of length 39
[2004/11/18 10:00:20, 3] smbd/process.c:switch_message(685)
  switch message SMBtdis (pid 8110)
[2004/11/18 10:00:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:20, 3] smbd/service.c:close_cnum(887)
  yenonn (172.16.0.223) closed connection to service IPC$
[2004/11/18 10:00:20, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2004/11/18 10:00:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:20, 3] smbd/process.c:timeout_processing(1104)
  timeout_processing: End of file from client (client has disconnected).
[2004/11/18 10:00:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:00:20, 2] smbd/server.c:exit_server(558)
  Closing connections
[2004/11/18 10:00:20, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2004/11/18 10:00:20, 3] smbd/connection.c:yield_connection(76)
  yield_connection: tdb_delete for name  failed with error Record does 
not exist.
[2004/11/18 10:00:20, 3] smbd/server.c:exit_server(601)
  Server exit (normal exit)
[2004/11/18 10:02:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:03:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:04:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:05:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:06:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:07:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/11/18 10:08:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

from the log file, i can see this
check_ntlm_password:  mapped user is: [SHINYANG]\[]@[YENONN]
which mean the user is not mapping correct for authentication.

so, after all, i wan to start my winbind service. but, it fails to start.

pls  advise... thanks


MaTT wrote:

> Hi, doesn't seems to be a samba related problem. did you check the 
> logs?? anything there?? increase log level ?? check the XP event viewer
>
> regards
> MRB
> www.lionix.com
> Linux
>
> Hiu Yen Onn wrote:
>
>> hi,
>>
>> i have a samba-ldap pdc. from the windows xp client. i hardly logon 
>> to the network.
>> the windows popup a box stating "A device attached to the system is 
>> not functioning".
>> .but however, i tested the account from windows 98. it worked perfectly.
>> can someone give me some pointers? thanks....
>>
>>
>
>


-- 


More information about the samba mailing list