cant rename directories on NT

Lars Rikart Jensen lrj at ite.dk
Thu Jan 6 12:46:07 GMT 2000



Dear Herbert and samba list

It turns out that the problem with rename of new directories has reappeared
      today.

Now here is the log, which as I understand tries to open the directory as a file
      when renaming.

Any idea why this can be. And a solution. (I read something about a nttrans.c
      but I'm not able to compile myself.)

Complete log is attached.

Lars Rikart
lrj at ite.dk

  call_trans2findfirst: dirtype = 22, maxentries = 3, close_after_first=1,
close_if_end = 0 requires_resume_key = 1 level = 260, max_data_bytes = 352
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [/rod/lrj]
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [rod/lrj]
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [rod]
[2000/01/06 12:51:10, 3] smbd/dir.c:(490)
  creating new dirptr 256 for path rod, expect_close = 1
[2000/01/06 12:51:10, 3] smbd/error.c:(133)
  error packet at line 818 cmd=50 (SMBtrans2) eclass=1 ecode=2
[2000/01/06 12:51:10, 3] smbd/process.c:(615)
  Transaction 7587 of length 98
[2000/01/06 12:51:10, 3] smbd/process.c:(448)
  switch message SMBtrans2 (pid 7823)
[2000/01/06 12:51:10, 3] smbd/trans2.c:(1344)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 264
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [/rod/New Folder (2)]
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [rod/New Folder (2)]
[2000/01/06 12:51:10, 3] smbd/trans2.c:(1361)
  call_trans2qfilepathinfo rod/New Folder (2) level=264 call=5 total_data=0
[2000/01/06 12:51:10, 3] smbd/process.c:(615)
  Transaction 7588 of length 107
[2000/01/06 12:51:10, 3] smbd/process.c:(448)
  switch message SMBntcreateX (pid 7823)
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [/rod/New Folder (2)]
[2000/01/06 12:51:10, 3] lib/util.c:(608)
  unix_clean_name [rod/New Folder (2)]
[2000/01/06 12:51:10, 3] smbd/open.c:(508)
  Error opening file rod/New Folder (2) (Is a directory) (flags=0)
[2000/01/06 12:51:10, 3] smbd/open.c:(159)
[2000/01/06 12:51:10, 6] param/loadparm.c:(1855)
  lp_file_list_changed()




More information about the samba mailing list