LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2005, 12:29 PM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Rep: Reputation: 17
SAMBA. Unable to set character code pages


Greetings

I've been having problems with my SAMBA due to special characters that exist in my language (á, à, ã, ç, ...), and someone told me to change the option "character set" to ISO8859-1 and "client code page" to 850.
But when I test with "testparm", I get:

henrique.hcm@0l001:~> /usr/local/samba/bin/testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Unknown parameter encountered: "character set"
Ignoring unknown parameter "character set"
Unknown parameter encountered: "client code page"
Ignoring unknown parameter "client code page"

Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions


My smb.conf:

[global]
workgroup = SRSP
netbios name = 0l001
realm = SRSP.DPF
server string = 0l001
security = ADS
password server = 10.11.8.28, 10.11.8.32
encrypt passwords = yes
allow trusted domains = No
log file = /usr/local/samba/var/samba.log.0l001
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
idmap uid = 10000-60000
idmap gid = 10000-60000
template homedir = /home/%U
template shell = /bin/bash
winbind separator = +
winbind use default domain = Yes
hosts allow = 10.11.8.0/255.255.252.0
character set = ISO8859-1
client code page = 850

I'm running a compiled SAMBA 3.0.14a over Suse 9.3.
Can someone please help me out?
 
Old 11-16-2005, 05:01 PM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
They are inexistent parametres indeed. You should use:
Code:
dos charset = 850
unix charset = ISO8859-1
display charset = ISO8859-1
Add these strings into the [global] section.
 
Old 11-21-2005, 06:24 PM   #3
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Original Poster
Rep: Reputation: 17
Thanks
I'll try just that.
 
Old 11-23-2005, 04:24 AM   #4
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Original Poster
Rep: Reputation: 17
Well
That didn't work
But I managed to solve my problem.
As that shinny light came from the sky, a thought hit me: "Why don't I try mounting the shares using CIFS instead of SMB?"
And guess what? It worked \o/
 
Old 11-23-2005, 04:32 AM   #5
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
It is good that your problem is solved, but I use SAMBA and it converts
filenames properly. I use exactly 'dos charset', 'unix charset' and
'display charset'.
 
  


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
Character set in the terminal intuxicator Debian 1 05-01-2005 02:56 AM
Character Set issues waynediamond Linux - Software 1 07-05-2004 06:26 PM
character code and keyboard input question blish_blash Programming 1 04-24-2004 06:09 PM
Samba code pages are strange stickfiguredoom Linux - Software 0 03-11-2004 07:18 PM
Strange character on man pages alaerte Linux - Newbie 4 07-29-2003 02:17 PM

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

All times are GMT -5. The time now is 08:28 PM.

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
Open Source Consulting | Domain Registration