LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2003, 07:50 AM   #1
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
samba codepage/char set problem


Hi all,

I set up a linux box (rh9) with samba (2.2.7 - rebuilt with ldap support, does not work as domain controller), Samba should give several windows users access to their directories.

Everything works fine but region specific characters. Names of any file or directory that contain region specific characters appear "crippled" on each other system (win created file -> liunx doesn't see correct name, even cannot access the file , linux created file -> win doesn't see the correct filename).

I tried following smb.conf settings:
codepage = 850
character set = iso8859-1
valid chars = ä:Ä ö:Ö ü:Ü

plus some variatons like
codepage = 437
character set = iso8859-15
...

Nothing did effect my issue.

Does anyone can giv me a hint, what else I can try?

Thanks in advance,
Clemens vo Musil

P.S: The concrete region, in which this happened is germany, the "problem childs" are äöüÄÖÜß. If you see them "crippled" , too: aouAOU with two dots above and a special s.
 
Old 11-10-2003, 12:08 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
In [global] section I've put:
character set = ISO8859-2
client code page = 852
And it works for Polish codings.
 
Old 11-10-2003, 03:50 PM   #3
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Original Poster
Rep: Reputation: 30
It is UTF-8!

I found out, that the conversion to UTF-8 on my linux box must fail. Unfotunately, Samba seems not to support UTF-8 at "character set".

Is it possible, to add it?
 
Old 11-25-2003, 01:31 PM   #4
pifou_gp
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
Clemente, if your system support UTF-8 (it does) the files might be coded in CP850 (example) format. You have to use a program that will convert the files in UTF-8 format (or another format that won't mess with your system).

convmv will convert a file from a format to another. Convert every samba file you have to UTF-8, or CP850. Check it on a single file first, but you have a dry-run (test mode) integrated anyway. This prog is a must-have and saved my life twice now.

google convmv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba replaces Uppercase char in filenames to lowercase srikz Other *NIX 3 03-03-2006 09:59 AM
Char set change`? jnusa Programming 2 11-09-2004 03:01 AM
C Problem---convert char to char* totti10 Programming 11 11-06-2004 12:32 PM
samba replaces Uppercase char in filenames to lowercase srikz Red Hat 1 10-26-2004 04:47 AM
is *- -p = '\n' valid? can i set \n char to a pointer? feetyouwell Programming 1 10-01-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration