[Samba] Applciation cannot open a file

Pappas, Bill Bill.Pappas at STJUDE.ORG
Wed Apr 16 22:06:37 GMT 2008


I'm running 3.0.28a on RHEL 4 U4.

The problem I see is tied between an application running on winxp (Altiris Image Browser) and the samba server.  The application says it is unable to open specific files.

I've tried some things to resolve this.  I set force user = root for the share in question.  This should have fixed it, but it did not. I set chmod to o+rwx per file.

I do not see this problem with accessing files thorough windows explorer, word, excel, etc.  Only this application sees this problem

I've generated level 10 debug logs to find a clue.  I can send them to whoever is interested.

The one error that stands out as this application uses 3.0.28a is indicated below, specifically the line "Intermediate not found linux-file1"  This is unique when compared to another application opening such files.


[2008/04/16 12:16:01, 5] smbd/filename.c:unix_convert(246)
  unix_convert begin: name = linux-file1/lsp/LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe, dirpath = , start = linux-file1/lsp/LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled(276)
  is_mangled linux-file1/lsp/LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component linux-file1/lsp/LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe (len 11) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component lsp/LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe (len 3) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component LSP-Current-User-Data/smuhammad/55622/55622-pc_Saver.exe (len 21) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component smuhammad/55622/55622-pc_Saver.exe (len 9) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component 55622/55622-pc_Saver.exe (len 5) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component 55622-pc_Saver.exe (len 18) ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled(276)
  is_mangled linux-file1 ?
[2008/04/16 12:16:01, 10] smbd/mangle_hash2.c:is_mangled_component(215)
  is_mangled_component linux-file1 (len 11) ?
[2008/04/16 12:16:01, 5] smbd/filename.c:unix_convert(384)
  Intermediate not found linux-file1
[2008/04/16 12:16:01, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/nttrans.c(671) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND


linux-file1 is the 3.0.28a netbios name.

Again...native windows explorer has no issues with such files. I can open them from Exploere.exe

What additional information could I give you? I know it is tied to the winxp application, but maybe, just maybe this is in part a samba issue.


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