when I create a directory which contains file or directory which name begins with a diacritic letter such directory is empty. diacritic letters within the name are ok to reproduce: create a dir a inside that dir create a file with such a name (I used iso-8859-2) and mount that directory on another machine using mount_smbfs. that directory will be emptu (if there were other files they are not displayed either) this behaviour was seen on fbsd and linux I can provide tar with such directory if necessary
Can you reproduce this same behavior with smbclient? We really have no relation to the smbfs code on FreeBSD. If you can reproduce it with smbclient, then also please test agains 3.0.20. Thanks.
yes, I can reproduce it using smbclient - here is the output: smbclient: smb: \botani\test\> ls . D 0 Fri Aug 26 08:35:13 2005 .. D 0 Fri Aug 26 08:35:02 2005 33899 blocks of size 1048576. 24656 blocks available smb: \botani\test\> unix: kasandra ~$ ls /home/Data\ Oddeleni/botani/test/ /home/Data Oddeleni/botani/test: \305\230e\305\231icha.doc kasandra ~$
ok. That's what we needed to know. Could you upload a tar of the directory test case? ALso please attach your smb.conf. And if you could try to reproduce this against 3.0.20, that would be good. Timur, is this a possible iconv issue on FreeBSD? Or maybe just with the iconv detection which should be fixed in 3.0.20?
here it is: www.stud.fit.vutbr.cz/~xdivac02/smb.conf www.stud.fit.vutbr.cz/~xdivac02/dir.tar I'll try 3.0.20 as soon as possible btw: a friend of mine reported the same problem between linux (both server and client) machines - so this is not isolated to FreeBSD
Just tried it: smb: \test\> dir . D 0 Fri Aug 26 08:35:13 2005 .. D 0 Sun Apr 9 18:19:48 2006 ÅeÅicha.doc 19456 Fri Aug 26 08:27:28 2005 34539 blocks of size 2097152. 2945 blocks available In your smb.conf you have 'client code page' and 'character set' set. These options do not apply anymore to Samba 3.0. When displaying the file in Windows, I don't get correct characters. The file name seems to look like UTF-8 encoded, but this seems incorrect UTF-8. I'm closing this as 'worksforme'. If you still have the problem with 3.0.22, please re-open the bug and send a debug level 10 log of smbd when smbclient is doing the 'dir' that does not show the file. Thanks, Volker