Bug 3370 - problem when use samba file sharing
Summary: problem when use samba file sharing
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Extended Characters (show other bugs)
Version: 3.0.0
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Alexander Bokovoy
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 22:27 UTC by huiyicao
Modified: 2006-01-18 05:56 UTC (History)
1 user (show)

See Also:


Attachments
the file name and file content are same words in Chinese. (10.00 KB, application/octet-stream)
2006-01-15 22:56 UTC, huiyicao
no flags Details
File in standard SuSE 9.2 xterm (1.06 KB, image/png)
2006-01-17 01:16 UTC, Volker Lendecke
no flags Details
File in XP via Samba 3_0 current (4.11 KB, image/png)
2006-01-17 01:18 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description huiyicao 2006-01-03 22:27:58 UTC
Dear Sir, 

We have problem when use samba file sharing. 
1. The files created using Chinese words to be file name from Window client, the files name shows strange symbols in samba server. our Samba server's platform is Linux Enterprise ES v3(it support Chinese Language). our users' client is Win2K or WinXP ( clients are all Chinese version).
2. The files created using Chinese words to be file name from samba server. the files name also shows strange symbols when access from samba client( Win2K, Winxp).
Comment 1 Vance Lankhaar 2006-01-03 23:02:06 UTC
This is not a bug in the build farm - the build farm is a automated tester for Samba, not Samba itself.
Comment 2 huiyicao 2006-01-03 23:39:35 UTC
(In reply to comment #1)
> This is not a bug in the build farm - the build farm is a automated tester for
> Samba, not Samba itself.

Could you please advice where can i get help for this problem?
Comment 3 Gerald (Jerry) Carter (dead mail address) 2006-01-04 05:29:43 UTC
Are you sure this is a source bug in Samba and not a 
simple misconfiguration?  Also please update the version
field to reflect your environment.  I doubt you really are 
using Samba 3.0.0.  Thanks.
Comment 4 huiyicao 2006-01-04 18:08:32 UTC
This is my samba version in my environment.  I am not sure what your means is about the simple misconfiguration because I change my language environment from Chinese to English, or change language from English to Chinese. but the problem still existed.
 
Samba version 3.0.21-SerNet-RedHat
PID     Username      Group         Machine
-------------------------------------------------------------------

Service      pid     machine       Connected at
-------------------------------------------------------
IPC$         10670   work          Tue Jan  3 16:19:11 2006
Comment 5 huiyicao 2006-01-10 19:07:14 UTC
may I have some responses about the problem?
Comment 6 Volker Lendecke 2006-01-11 01:35:18 UTC
Your problem does sound like a configuration problem.

We have a Samba problem if you store files from a windows client and later on these files when viewed from a windows client show different characters.

I assume that you have some problem on Linux itself. It might also be possible that your terminal application does not do the right thing. Does it for example have all the necessary fonts etc? Is it correctly doing utf-8 and so on.

Volker
Comment 7 huiyicao 2006-01-15 20:31:55 UTC
I have five samba server that all existed same problem. that all support Chinese Language, and English Language. too many users use these five servers.  and they meet the problem are some one.  so I am not sure what your mean"It might also be possible that your terminal application does not do the right thing. Does it for example have all the necessary fonts etc? Is it correctly doing utf-8 and so on".   I think we have all necessary fonts existed becuase we linux system support Chinese Language, and English Language.  so Could you please do same testing in your site?
Comment 8 Volker Lendecke 2006-01-15 21:56:51 UTC
My problem is that I can't really generate Chinese characters, and that I do not have a Chinese Windows around. So it would be very handy if you could upload a tar-file with some problematic files.

Volker
Comment 9 huiyicao 2006-01-15 22:56:34 UTC
Created attachment 1687 [details]
the file name and file content are same words in Chinese.

I attach the tar file for you reference.  I crated it from the windows client, the file name and file content are same words in Chinese.  but you can see the file name is strange symbols in linux, it is not current words which see in the Windows client.
Comment 10 huiyicao 2006-01-15 22:56:56 UTC
I attach the tar file for you reference.  I crated it from the windows client, the file name and file content are same words in Chinese.  but you can see the file name is strange symbols in linux, it is not current words which see in the Windows client.
Comment 11 Volker Lendecke 2006-01-17 01:16:49 UTC
Created attachment 1695 [details]
File in standard SuSE 9.2 xterm

The file you sent to me in an xterm ls
Comment 12 Volker Lendecke 2006-01-17 01:18:48 UTC
Created attachment 1696 [details]
File in XP via Samba 3_0 current

The file you sent to me in an xp window
Comment 13 Volker Lendecke 2006-01-17 01:20:12 UTC
I'm closing this bug as invalid. To my eyes (please correct me if I'm wrong) these two file names look the same. So I'd say this is a configuration issue on one of your machines.

Samba only ever deals with file names, it never touches data. So I did not look at the file's content. If you have problems there, this is also definitely an application problem Samba can not do much about.

Volker
Comment 14 huiyicao 2006-01-17 03:47:19 UTC
I don't understand what is problem on my server's configuration.  you just see the file name correct under SuSE 9.2, but My server is Linux Enterprise ES v3. so I can't agree with you that is not samba bug on Linux Enterprise ES v3. 
Comment 15 huiyicao 2006-01-17 04:13:59 UTC
the filename can see correct words under Redhat9.0(Chinese language), samba 2.2.12 version.  but can't see correct words under Linux Enterprise ES v3, samba 3.0.x version.  do you have testing result under Linux Enterprise ES v3, samba 3.0.x version to see correct Chinese words of filename which created from Windows client? 
Comment 16 Volker Lendecke 2006-01-17 04:27:37 UTC
No, I don't have it tested under RHEL3. You should contact your Red Hat support for this problem I think. This is *most* likely not a Samba problem. If you need further assistance, please look at http://us2.samba.org/samba/support/ for companies that provide paid support for Samba.

Volker
Comment 17 Björn Jacke 2006-01-18 05:56:23 UTC
you probably don't have a UTF-8 System. "locale charmap" should show "UTF-8" you probably don't have this. You can convert your files to your local encoding using convmv. You should also carefully read http://www.suse.de/~mfabian/ for I18N/M17N related stuff.