File name truncation 3.0.2-rc1 profiles
Jeff Mandel
jeff.mandel at probes.com
Thu Jan 22 00:33:14 GMT 2004
After upgrading samba-2.2.8a to 3.0.2-rc1 I'm having trouble with
roaming profiles.
This is running on Solaris 8
An example is one particularly bad looking file name, but there are others:
on the file system in the .ntprofile directory is a file called "3«
Floppy (A).lnk"
The profile fails to load with errors to the client that the file
<full_path>\3 could not be accessed.
If I remove this file, the profile loads fine. I found I can just to a
touch "3« Floppy (A).lnk", then the profile fails to load. Try it and
see if it happens to you.
From the machine's log:
[2004/01/22 01:18:52, 3] smbd/process.c:process_smb(890)
Transaction 1112 of length 130
[2004/01/22 01:18:52, 3] smbd/process.c:switch_message(685)
switch message SMBntcreateX (pid 5316)
[2004/01/22 01:18:52, 3] lib/util.c:unix_clean_name(580)
unix_clean_name [/.ntprofile/SendTo/3]
[2004/01/22 01:18:52, 3] smbd/dosmode.c:unix_mode(110)
unix_mode(.ntprofile/SendTo/3) returning 0744
[2004/01/22 01:18:52, 3] lib/util.c:unix_clean_name(580)
unix_clean_name [.ntprofile/SendTo/3]
[2004/01/22 01:18:52, 3] smbd/open.c:open_file(173)
Error opening file .ntprofile/SendTo/3 (No such file or directory)
(local_flags=0) (flags=0)
[2004/01/22 01:18:52, 3] smbd/error.c:error_packet(94)
error string = No such file or directory
[2004/01/22 01:18:52, 3] smbd/error.c:error_packet(118)
error packet at smbd/trans2.c(1808) cmd=162 (SMBntcreateX)
NT_STATUS_OBJECT_NAME_NOT_FOUND
Another examle is: Le fabuleux destin d'Amlie Poulain
[2004/01/22 01:28:29, 3] smbd/dir.c:dptr_create(491)
creating new dirptr 256 for path .ntprofile/My Documents/Mijn
muziek/Yann Tiersen, expect_close = 1
[2004/01/22 01:28:29, 3] lib/charcnv.c:convert_string_internal(208)
convert_string_internal: Required 2, available 2
[2004/01/22 01:28:29, 3] smbd/process.c:process_smb(890)
Transaction 2052 of length 226
[2004/01/22 01:28:29, 3] smbd/process.c:switch_message(685)
switch message SMBtrans2 (pid 5316)
[2004/01/22 01:28:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(1915)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2004/01/22 01:28:29, 3] lib/util.c:unix_clean_name(580)
unix_clean_name [/.ntprofile/My Documents/Mijn muziek/Yann Tiersen/Le
fabuleux destin d'Am]
[2004/01/22 01:28:29, 3] lib/util.c:unix_clean_name(580)
unix_clean_name [.ntprofile/My Documents/Mijn muziek/Yann Tiersen/Le
fabuleux destin d'Am]
[2004/01/22 01:28:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(1934)
call_trans2qfilepathinfo: SMB_VFS_STAT of .ntprofile/My Documents/Mijn
muziek/Yann Tiersen/Le fabuleux destin d'Am failed (No such file o
r directory)
[2004/01/22 01:28:29, 3] smbd/error.c:error_packet(94)
error string = No such file or directory
[2004/01/22 01:28:29, 3] smbd/error.c:error_packet(118)
error packet at smbd/trans2.c(1808) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
Any suggestions for further debugging?
Thanks,
Jeff
More information about the samba-technical
mailing list