[Samba] rename not working while all other things work?
Thomas Seifert
ts77 at dasburo.de
Wed Sep 11 17:23:41 GMT 2002
some additions ... just tried 2.2.6pre2, the same problem.
Here are some log-messages for the time I tried to rename the file (debug level 3):
[2002/09/11 19:19:52, 3] smbd/process.c:process_smb(878)
Transaction 127 of length 68
[2002/09/11 19:19:52, 3] smbd/process.c:switch_message(685)
switch message SMBmv (pid 11425)
[2002/09/11 19:19:52, 3] smbd/reply.c:reply_mv(4005)
reply_mv : \blob_test.txt -> \blob.txt
[2002/09/11 19:19:52, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [/blob_test.txt]
[2002/09/11 19:19:52, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [/blob.txt]
[2002/09/11 19:19:52, 3] smbd/reply.c:rename_internals(3805)
rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory = ./blob_test.txt, newname = ./blob.txt, newname_last_component = blob.txt, mangle_is_8_3 = 0
[2002/09/11 19:19:52, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [./blob_test.txt]
[2002/09/11 19:19:52, 2] smbd/open.c:open_file(230)
ts77 opened file blob_test.txt read=Yes write=No (numopen=2)
[2002/09/11 19:19:52, 2] smbd/close.c:close_normal_file(211)
ts77 closed file blob_test.txt (numopen=1)
[2002/09/11 19:19:52, 3] smbd/reply.c:rename_internals(3914)
rename_internals: Error NT_STATUS_OBJECT_NAME_NOT_FOUND rename blob_test.txt -> ./blob.txt
[2002/09/11 19:19:52, 3] smbd/error.c:error_packet(91)
error string = No such file or directory
[2002/09/11 19:19:52, 3] smbd/error.c:error_packet(106)
error packet at smbd/reply.c(4009) cmd=7 (SMBmv) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2002/09/11 19:19:52, 3] smbd/process.c:process_smb(878)
Transaction 128 of length 93
[2002/09/11 19:19:52, 3] smbd/process.c:switch_message(685)
switch message SMBtrans2 (pid 11425)
[2002/09/11 19:19:52, 3] smbd/trans2.c:call_trans2qfilepathinfo(1698)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[2002/09/11 19:19:52, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [/blob_test.txt]
[2002/09/11 19:19:52, 3] lib/util.c:unix_clean_name(387)
unix_clean_name [blob_test.txt]
[2002/09/11 19:19:52, 3] smbd/trans2.c:call_trans2qfilepathinfo(1729)
call_trans2qfilepathinfo blob_test.txt level=257 call=5 total_data=0
On Wed, 11 Sep 2002 17:27:04 +0200
Thomas Seifert <ts77 at dasburo.de> wrote:
> Hi folks,
>
> I've got a serious problem with samba since I upgrade an stone-age caldera-box with a 2.0.x-samba to redhat-7.2 with 2.2.1a-samba.
>
> I can create, delete directories and files without any problems. But renaming them (i.e. by creating a new folder which has new folder as default) does not work.
> I always get an error, that the file does not exist. I am trying from a win2k-professional box but I had reports of that problem with nt-4 too.
>
> Any ideas what could generate this problem?
>
> my stripped-down smb.conf looks like that (I tried to generate it with SWAT in case I had a typo anywhere):
>
> [global]
> workgroup = WORKGROUP
> server string = Amiga 5000 Samba Server
> log file = /var/log/samba/smbd.log
> max log size = 50
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = No
> kernel oplocks = No
> hosts allow = 192.168.1. 192.168.5.
>
> [homes]
> comment = Home Directories
> read only = No
>
> ###############
>
> I have already tried 2.2.5 ... didn't help with this problem too.
>
> I would be glad for every help I could get to resolve this.
>
> Oh and btw. the files or directories I tried all have rwx rights, the parent dir too.
>
>
> Thanks in advance
>
>
> Thomas
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
--
Thomas Seifert
dasburo.de gmbh
mailto: ts77 at dasburo.de
http://www.dasburo.de
More information about the samba
mailing list