[Samba] Swedish characters

Mats olsson mace2442 at hotmail.com
Sun Feb 3 07:39:10 GMT 2002


Hi Everyone

I'm still trying to get swedish characters to work with newer samba than 
2.0.7

so far no sucess. It garbles the national characters in 2.2.3 and in 3.0 
alpha 14.

I have searched the archives and the only thing i found was that for 2.2.X 
character set =ISO8859-1 and codepage = 850 should work. It dosn't for me.

In 3.X i tried with Dos charset display charset and unix charset. It didn't 
work better. I got libiconv 1.7 installed

Does anyone know how to fix this or does anyone have a smb.conf that works 
with swedish characters ?

I would be very happy if someone would share a working config.

I've included my smb.conf

/mats

_________________________________________________________________
MSN Photos är det enklaste sättet att dela ut och skriva ut foton: 
http://photos.msn.se/Support/WorldWide.aspx
-------------- next part --------------
# Samba config file created using SWAT
# from 172.16.1.11 (172.16.1.11)
# Date: 2000/09/24 18:19:03

# Global parameters
[global]

# attempt to get swedish characters with 3.0
	display charset= ISO8859-1
	unix charset = ISO8859-1
	dos charset = ISO8859-1

#attempt to get swedish characters with 2.2.3
	client code page = 850
        character set = iso8859-1
        valid chars = 0345:0305 0366:0326 0344:0304

	use spnego=no
	max log size = 1000
	domain master = True
	dns proxy = No
	domain logons = Yes
	passwd program = /usr/bin/passwd %u
	encrypt passwords = yes
	server string = %h server (Samba %v)
	workgroup = SKRANGSTA
	printer driver file = /printer/printers.def
	passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n 
*Password\schanged.* .
	unix password sync = Yes
	logon script = %U.bat
	netbios name = TINY
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
	os level = 255
	username map = /usr/local/samba/lib/user.map
	wins support = true

[homes]
	comment = Home Directories
	read only = No
	create mask = 0700
	directory mask = 0700
	browseable = No

[Netlogon]
	path = /netlogon
	write list = mace
	guest ok = Yes

[Root]
	comment = Root directory
	path = /
	write list = mace
	guest ok = Yes

[Pub]
	comment = Public files
	path = /export/pub
	read only = No
	guest ok = Yes

[Install]
	comment = Install files
	path = /export/install
	read only = No
	guest ok = Yes


[HPLJ3P]
	comment = HP LaserJet IIIP
	path = /tmp
	read only = No
	printable = Yes
	print command = /usr/bin/lpr -P hplj3p %s
	printer driver = HP LaserJet IIIP
	printer driver location = \\Tiny\printer

[printer]
	path = /printer



More information about the samba mailing list