[Samba] Share violation

Oscar A. Valdez oscar.valdez at plastipak.com.sv
Wed May 28 18:12:42 GMT 2003


Ocassionally (not always), some (not all) of my Win 9x clients get a 
share violation when trying to open a shared file. I also have many more
DOSEMU/Linux clients that never encounter this problem. The log snippet
is as follows:

[2003/05/28 11:50:30, 5] smbd/filename.c:unix_convert(119)
  unix_convert called on file "\INMASS.EXE"
[2003/05/28 11:50:30, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/INMASS.EXE]
[2003/05/28 11:50:30, 5] smbd/mangle_hash.c:is_8_3(368)
  Checking INMASS.EXE for 8.3
[2003/05/28 11:50:30, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(INMASS.EXE) returning 0764
[2003/05/28 11:50:30, 5] smbd/files.c:file_new(121)
  allocated file structure 8630, fnum = 12726 (1 used)
[2003/05/28 11:50:30, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [INMASS.EXE]
[2003/05/28 11:50:30, 2] smbd/open.c:check_share_mode(502)
  Share violation on file (2,4,2,3957,INMASS.EXE,fcbopen = 0, flags = 0)
= 0
[2003/05/28 11:50:30, 2] smbd/open.c:open_file(233)
  JOAQUIN opened file INMASS.EXE read=Yes write=No (numopen=1)
[2003/05/28 11:50:30, 4] smbd/open.c:open_file_shared1(869)
  open_file_shared : share_mode deny - calling open_file with flags=0x0
flags2=0x0 mode=0764 returned 1
[2003/05/28 11:50:30, 5] smbd/files.c:file_free(339)
  freed files structure 12726 (0 used)
[2003/05/28 11:50:30, 3] smbd/error.c:error_packet(91)
  error string = Operation not permitted
[2003/05/28 11:50:30, 3] smbd/error.c:error_packet(126)
  error packet at smbd/reply.c(1702) cmd=45 (SMBopenX) eclass=1 ecode=32

Tips and suggestions will be much appreciated.
-- 
Oscar A. Valdez
Plastipak, S.A. de C.V.




More information about the samba mailing list