[Samba] Open file error....samba 3.0.28a

Pappas, Bill Bill.Pappas at STJUDE.ORG
Wed May 28 17:02:32 GMT 2008


When I try to open a specific file from a samba share (LSP), the application (on WINXP) says that it could not open the file.

The errors pasted below (from the smb client) show something different from anything I've seen before.  Usually these kinds of problems are straight forward.  In other words, usually this is a permission issue.  In this case, it is not.

I am trying to open a file called 55620_SAVER.EXE

The samba server is LINUX-FILE1

Does anyone have any insight?




[2008/04/16 12:16:21, 5] smbd/filename.c:unix_convert(147)
  unix_convert called on file "linux-file1/lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe"
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1/LSP/LSP-CURRENT-USER-DATA/SMUHAMMAD/55620_SAVER/55620_SAVER.EXE]
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1/LSP/LSP-CURRENT-USER-DATA/SMUHAMMAD/55620_SAVER]
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1/LSP/LSP-CURRENT-USER-DATA/SMUHAMMAD]
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1/LSP/LSP-CURRENT-USER-DATA]
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1/LSP]
[2008/04/16 12:16:21, 10] smbd/statcache.c:stat_cache_lookup(215)
  stat_cache_lookup: lookup failed for name [LINUX-FILE1]
[2008/04/16 12:16:21, 5] smbd/filename.c:unix_convert(246)
  unix_convert begin: name = linux-file1/lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe, dirpath = , start = linux-file1/lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled(276)
  is_mangled linux-file1/lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component linux-file1/lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe (len 11) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component lsp/LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe (len 3) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe (len 21) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component smuhammad/55620_Saver/55620_saver.exe (len 9) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component 55620_Saver/55620_saver.exe (len 11) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component 55620_saver.exe (len 15) ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled(276)
  is_mangled linux-file1 ?
[2008/04/16 12:16:21, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component linux-file1 (len 11) ?
[2008/04/16 12:16:21, 5] smbd/filename.c:unix_convert(384)
  Intermediate not found linux-file1
[2008/04/16 12:16:21, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/nttrans.c(671) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(484)
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(494)
  size=35
  smb_com=0xa2
  smb_rcls=58
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=1
  smb_pid=3696
  smb_uid=101
  smb_mid=31363
  smt_wct=0
  smb_bcc=0
[2008/04/16 12:16:21, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
  got smb length of 41
[2008/04/16 12:16:21, 6] smbd/process.c:process_smb(1067)
  got message type 0x0 of len 0x29
[2008/04/16 12:16:21, 3] smbd/process.c:process_smb(1068)
  Transaction 1588 of length 45
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(484)
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(494)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=55303
  smb_tid=1
  smb_pid=65279
  smb_uid=101
  smb_mid=31427
  smt_wct=3
  smb_vwv[ 0]= 7909 (0x1EE5)
  smb_vwv[ 1]=65535 (0xFFFF)
  smb_vwv[ 2]=65535 (0xFFFF)
  smb_bcc=0
[2008/04/16 12:16:21, 3] smbd/process.c:switch_message(926)
  switch message SMBclose (pid 7567) conn 0x552b06c840
[2008/04/16 12:16:21, 4] smbd/uid.c:change_to_user(183)
  change_to_user: Skipping user change - already user
[2008/04/16 12:16:21, 3] smbd/reply.c:reply_close(3338)
  close fd=28 fnum=7909 (numopen=1)
[2008/04/16 12:16:21, 10] locking/locking.c:parse_share_modes(523)
  parse_share_modes: delete_on_close: 0, num_share_modes: 3
[2008/04/16 12:16:21, 10] locking/locking.c:parse_share_modes(623)
  parse_share_modes: share_mode_entry[0]:  pid = 7567, share_access = 0x7, private_options = 0x40, access_mask = 0x20089, mid = 0x0, type= 0x10, file_id = 349, uid = 20286, flags = 0, dev = 0xc733, inode = 818481
[2008/04/16 12:16:21, 10] locking/locking.c:parse_share_modes(623)
  parse_share_modes: share_mode_entry[1]: UNUSED pid = 7567, share_access = 0x5, private_options = 0x40, access_mask = 0x20, mid = 0x0, type= 0x40, file_id = 351, uid = 20286, flags = 0, dev = 0xc733, inode = 818481
[2008/04/16 12:16:21, 10] locking/locking.c:parse_share_modes(623)
  parse_share_modes: share_mode_entry[2]: UNUSED pid = 7567, share_access = 0x3, private_options = 0x40, access_mask = 0x20089, mid = 0x0, type= 0x40, file_id = 353, uid = 20286, flags = 0, dev = 0xc733, inode = 818481
[2008/04/16 12:16:21, 10] locking/posix.c:get_windows_lock_ref_count(545)
  get_windows_lock_count for file LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe = 0
[2008/04/16 12:16:21, 10] locking/posix.c:delete_windows_lock_ref_count(559)
  delete_windows_lock_ref_count for file LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe
[2008/04/16 12:16:21, 2] smbd/close.c:close_normal_file(406)
  smuhamma closed file LSP-Current-User-Data/smuhammad/55620_Saver/55620_saver.exe (numopen=0) NT_STATUS_OK
[2008/04/16 12:16:21, 5] smbd/files.c:file_free(454)
  freed files structure 7909 (0 used)
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(484)
[2008/04/16 12:16:21, 5] lib/util.c:show_msg(494)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=1
  smb_pid=65279
  smb_uid=101
  smb_mid=31427
  smt_wct=0
  smb_bcc=0


Thanks,
Bill Pappas -
Enterprise Network Storage Architect
St. Jude Children's Research Hospital
332 North Lauderdale
Memphis, TN 38105
901.495.4549



More information about the samba mailing list