[Samba] NT_STATUS question

Justin Anderson justin at notjust.co.za
Mon Feb 24 20:58:18 GMT 2003


Hi all 


Got a couple of errors in the logs wondering what they mean???

Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE,
NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and
NT_STATUS_OBJECT_NAME_NOT_FOUND.


Four clips illustrating the above are below...


I have am wondering how I sort this out. I am particularly worried about
the NT_STATUS_NO_SUCH_FILE.


All the best 
Justin.

EXAMPLE 1

  New file A13C0000
[2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1115)
  is_in_path: Brigittes Documents/Work/Invoices/A13C0000
[2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1120)
  is_in_path: no name list.
[2003/02/24 09:30:05, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [Brigittes Documents/Work/Invoices/A13C0000]
[2003/02/24 09:30:05, 3] smbd/trans2.c:call_trans2qfilepathinfo(1636)
  call_trans2qfilepathinfo: vfs_stat of Brigittes
Documents/Work/Invoices/A13C0000 failed (No such file or directory)
[2003/02/24 09:30:05, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2003/02/24 09:30:05, 3] smbd/error.c:error_packet(99)
  error packet at smbd/trans2.c(1638) cmd=50 (SMBtrans2)
NT_STATUS_NO_SUCH_FILE

^^^^^^^^^^^^^^^^^^^^^^^

[2003/02/24 09:30:05, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0x32
  smb_rcls=15
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=16449
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=41344
  smt_wct=0
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(518)
  write_socket(12,39)
[2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(521)
  write_socket(12,39) wrote 39
[2003/02/24 09:30:05, 6] smbd/process.c:process_smb(859)
  got message type 0x0 of len 0x82
[2003/02/24 09:30:05, 3] smbd/process.c:process_smb(860)
  Transaction 6 of length 134
[2003/02/24 09:30:05, 5] lib/util.c:show_msg(268)






EXAMPLE 2

[2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,99) gid=(0,99)
[2003/02/24 09:30:06, 3] smbd/oplock.c:oplock_break(855)
  oplock_break: returning success for dev = 903, inode = 1507360,
file_id = 13
  Current exclusive_oplocks_open = 0
[2003/02/24 09:30:06, 2] smbd/open.c:check_share_mode(422)
  Share violation on file (4,1,2,28171,Brigittes
Documents/Work/Invoices/A13C0000,fcbopen = 0, flags = 0) = 0
[2003/02/24 09:30:06, 2] smbd/open.c:open_file(213)
  brigitte opened file Brigittes Documents/Work/Invoices/A13C0000
read=Yes write=No (numopen=3)
[2003/02/24 09:30:06, 4] smbd/open.c:open_file_shared(762)
  open_file_shared : share_mode deny - calling open_file with flags=0x0
flags2=0x0 mode=0744 returned 1
[2003/02/24 09:30:06, 5] smbd/files.c:file_free(338)
  freed files structure 7206 (2 used)
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(91)
  error string = Operation not permitted
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99)
  error packet at smbd/nttrans.c(883) cmd=162 (SMBntcreateX)
NT_STATUS_SHARING_VIOLATION
^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0xa2
  smb_rcls=67
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=16385
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=60929
  smt_wct=0
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(291)


EXAMPLE 3


[2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200)
  change_to_user uid=(0,99) gid=(0,99)
[2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 265
[2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646)
  call_trans2qfilepathinfo Brigittes Documents/Work/Invoices/NJC
Invoice01AAA.xls level=265 call=7 total_data=0
[2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(123)
  dos_mode: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls
[2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1115)
  is_in_path: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls
[2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1120)
  is_in_path: no name list.
[2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(167)
  dos_mode returning a
[2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99)
  error packet at smbd/trans2.c(2080) cmd=50 (SMBtrans2)
NT_STATUS_INVALID_LEVEL
^^^^^^^^^^^^^^^^^^^^^^

[2003/02/24 09:30:06, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0x32
  smb_rcls=72
  smb_reh=1
  smb_err=49152
  smb_flg=136
  smb_flg2=16449
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=404
  smb_uid=100
  smb_mid=61057
  smt_wct=0
[2003/02/24 09:30:06, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/02/24 09:30:06, 6] lib/util_sock.c:write_socket(518)

EXAMPLE 4
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( A13C0000, need83 = False, cache83 = True, 4 )
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [A13C0000]
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(988)
  name_map_mangle( NJC Invoice01AAA.xls~RFc374f.TMP, need83 = False,
cache83 = True, 4 )
[2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(1023)
  name_map_mangle() ==> [NJC Invoice01AAA.xls~RFc374f.TMP]
[2003/02/24 09:30:07, 5] smbd/filename.c:unix_convert(350)
  New file NJC Invoice01AAA.xls
[2003/02/24 09:30:07, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2003/02/24 09:30:07, 3] smbd/error.c:error_packet(99)
  error packet at smbd/reply.c(2040) cmd=6 (SMBunlink)
NT_STATUS_OBJECT_NAME_NOT_FOUND
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2003/02/24 09:30:07, 5] lib/util.c:show_msg(268)
  size=35
  smb_com=0x6
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=16385
[2003/02/24 09:30:07, 5] lib/util.c:show_msg(276)
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=2817
  smt_wct=0









More information about the samba mailing list