Radio Gong 2000 GmbH & Co. KG [Technik]
2003-Sep-09 18:10 UTC
[Samba] Samba3.0.0rc3 -> charset
Hi there, today I installed samba 3.0.0 rc 3 on redhat 9. Now I got following problem: "Illegal multibyte sequence" -> and all processors have a cpu-state of 99,9% while reading files... It seems to me that the iconv string does not work properly with my charset for german. Here're the entries from my smb.conf: unix charset = ISO-8859-15 display charset = ISO-8859-15 dos charset = 850 What did I miss??? Greetz and thank you for helping Sascha P.S.: I switched back to samba 3.0.0 rc2 and everything works fine again.
rc3 likes to burn my cpu. I get this in the logs: [2003/09/09 16:18:22, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "\<EF><B1><90><C3><A9><E2><82><A4>^N<C2><92>^V<EF><97><AC><C3><A9>" [2003/09/09 16:18:22, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/<EF><B1><90><C3><A9><E2><82><A4>^N<C2><92>^V<EF><97><AC><C3><A9>] [2003/09/09 16:18:22, 3] lib/charcnv.c:convert_string_internal(209) convert_string_internal: Conversion error: Illegal multibyte sequence(p<D8>) [2003/09/09 16:18:22, 5] smbd/filename.c:unix_convert(188) unix_convert begin: name = <EF><B1><90><C3><A9><E2><82><A4>^N<C2><92>^V<EF><97><AC><C3><A9>, dirpath = , start <EF><B1><90><C3><A9><E2><82><A4>^N<C2><92>^V<EF><97><AC><C3><A9> I changed "unix charset" from the default of UTF8 to ASCII and now things work very well. Any ideas what's happening?
I am seeing the same "slowdown" problem, and have found a couple of other things. The problem began for me after doing a CVS update and installing on the evening of 7 Sep. Reverting to my previous build of 31 Aug eliminates the problem. smbd is in constant run state, but strace shows no system calls. A new smbd starts up every few minutes (as if XP is trying to reconnect) and exhibits the same problems. The previous smbd processes continue to run. I'm running XP Pro with latest updates. Samba is running on RH 7.2 and kernel 2.4.22. Here is the relevant section of my log: [2003/09/09 20:23:29, 4] smbd/vfs.c:vfs_ChDir(611) vfs_ChDir to //home/rkshull/windows [2003/09/09 20:23:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(1901) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2003/09/09 20:23:29, 3] lib/charcnv.c:convert_string_internal(194) convert_string_internal: Conversion error: Incomplete multibyte sequence(^E| ) [2003/09/09 20:23:29, 5] smbd/filename.c:unix_convert(114) unix_convert called on file "\~P^A^H" [2003/09/09 20:23:29, 3] lib/charcnv.c:convert_string_internal(209) convert_string_internal: Conversion error: Illegal multibyte sequence(~P^A^H) [2003/09/09 20:23:29, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/?~P^H] [2003/09/09 20:23:29, 3] lib/charcnv.c:convert_string_internal(199) convert_string_internal: Required 2048, available 1024 [2003/09/09 20:23:29, 10] smbd/statcache.c:stat_cache_lookup(251) stat_cache_lookup: lookup failed for name [?~P^H] [2003/09/09 20:23:29, 5] smbd/filename.c:unix_convert(188) unix_convert begin: name = ?~P^H, dirpath = , start = ?~P^H Thanks, Robert