[Samba] odd chdir failed error

Doug Tucker tuckerd at engr.smu.edu
Fri Sep 7 17:02:55 GMT 2007


I'm getting this frequently in our logs but I cannot replicate the
problem when I try.  I have a user successfully map his home directory:

2007/09/05 09:13:14, 2] auth/auth.c:check_ntlm_password(305)
  check_ntlm_password:  authentication for user [lmerrill] -> [lmerrill]
-> [lmerrill] succeeded
[2007/09/05 09:13:14, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
  NTLMSSP Sign/Seal - Initialising with flags:
[2007/09/05 09:13:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2007/09/05 09:13:14, 3] smbd/password.c:register_vuid(222)
  User name: lmerrill   Real name: 
[2007/09/05 09:13:14, 3] smbd/password.c:register_vuid(241)
  UNIX uid 6333 is UNIX user lmerrill, and will be vuid 101
[2007/09/05 09:13:14, 3] smbd/password.c:register_vuid(270)
  Adding homes service for user 'lmerrill' using home directory:
'/users/emis/emis1305/lmerrill'
[2007/09/05 09:13:14, 3] param/loadparm.c:lp_add_home(2341)
  adding home's share [lmerrill] for user 'lmerrill' at
'/users/emis/emis1305/lmerrill'
[2007/09/05 09:13:14, 3] smbd/process.c:process_smb(1091)
  Transaction 7 of length 86
[2007/09/05 09:13:14, 3] smbd/process.c:switch_message(886)
  switch message SMBtconX (pid 28271) conn 0x0
[2007/09/05 09:13:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:13:14, 3] smbd/service.c:make_connection_snum(472)
  Connect path is '/users/emis/emis1305/lmerrill' for service [lmerrill]
[2007/09/05 09:13:14, 3] lib/util_seaccess.c:se_access_check(251)
[2007/09/05 09:13:14, 3] lib/util_seaccess.c:se_access_check(252)


Then a bunch of sid checks, then, every minute for over 30 minutes I see
this same message:
[2007/09/05 09:13:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:14:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:15:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:16:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:17:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:18:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

Then for reason I can't explain, some 37 minutes later I get this:
[2007/09/05 09:50:17, 3] smbd/process.c:process_smb(1091)
  Transaction 10 of length 43
[2007/09/05 09:50:17, 3] smbd/process.c:switch_message(886)
  switch message SMBulogoffX (pid 28271) conn 0x0
[2007/09/05 09:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:50:17, 3] smbd/reply.c:reply_ulogoffX(1249)
  ulogoffX vuid=101
[2007/09/05 09:50:17, 3] smbd/process.c:process_smb(1091)
  Transaction 11 of length 39
[2007/09/05 09:50:17, 3] smbd/process.c:switch_message(886)
  switch message SMBtdis (pid 28271) conn 0x88a00a8
[2007/09/05 09:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:50:17, 0] smbd/service.c:set_current_service(51)
  chdir (/users/emis/emis1305/lmerrill) failed
[2007/09/05 09:50:17, 3] smbd/error.c:error_packet(105)
  error string = Permission denied
[2007/09/05 09:50:17, 3] smbd/error.c:error_packet(129)
  error packet at smbd/process.c(959) cmd=113 (SMBtdis)
NT_STATUS_NETWORK_ACCESS_DENIED
[2007/09/05 09:50:17, 3] smbd/process.c:timeout_processing(1336)
  timeout_processing: End of file from client (client has disconnected).
[2007/09/05 09:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:50:17, 2] smbd/server.c:exit_server(571)
  Closing connections
[2007/09/05 09:50:17, 0] smbd/service.c:set_current_service(51)
  chdir (/users/emis/emis1305/lmerrill) failed
[2007/09/05 09:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:50:17, 1] smbd/service.c:close_cnum(841)
  s315pc15 (129.119.122.195) closed connection to service lmerrill
[2007/09/05 09:50:17, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to lmerrill
[2007/09/05 09:50:17, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/09/05 09:50:17, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2007/09/05 09:50:17, 3] smbd/server.c:exit_server(614)
  Server exit (normal exit)

Note the chdir failed error before Server exit.  Any ideas what is
causing this?






More information about the samba mailing list