Koozali.org: home of the SME Server

Samba and Danish characters issue

rosie

Samba and Danish characters issue
« on: April 02, 2003, 11:54:42 PM »
Using standard SME 5.6 Samba setup I can not get all Danish characters to work. One letter (the o with a slash in it) shows up as a 'o' in file and folder names. Any ideas?

Andrej Fercic

Re: Samba and Danish characters issue
« Reply #1 on: April 04, 2003, 12:05:25 AM »
1. make some dirs in /etc/e-smith/templates-custom : first etc then move in etc and create DIR smb.conf
2. copy original 3 template files from: /etc/e-smith/templates/etc/smb.conf
    to /etc/e-smith/templates-custom/etc/smb.conf his files are:
    11characterSet , 11clientCodePage , 11ServerString (if you want to change ServerName )

3. Edit: 11characterSet , 11clientCodePage to fit your CodePage and save
4. expand template /sbin/e-smith/expand-template /etc/smb.conf
5. restart SAMBA: /etc/rc.d/init.d/smb restart

Write some files or just rename exsistent to name you want ?!

Have fun!

Andrej

Charlie Brady

Re: Samba and Danish characters issue
« Reply #2 on: August 19, 2003, 10:52:14 PM »
Andrej Fercic wrote:
 
> 1. make some dirs in /etc/e-smith/templates-custom : first
> etc then move in etc and create DIR smb.conf
> 2. copy original 3 template files from:
> /etc/e-smith/templates/etc/smb.conf
>     to /etc/e-smith/templates-custom/etc/smb.conf his files
> are:
>     11characterSet , 11clientCodePage , 11ServerString (if
> you want to change ServerName )
>
> 3. Edit: 11characterSet , 11clientCodePage to fit your
> CodePage and save
> 4. expand template /sbin/e-smith/expand-template /etc/smb.conf
> 5. restart SAMBA: /etc/rc.d/init.d/smb restart
>
> Write some files or just rename exsistent to name you want ?!

Simpler and safer is to use the feature that's already provided:

/sbin/e-smith/config setprop smb CharacterSet xxx
/sbin/e-smith/config setprop smb ClientCodePage nnn
/sbin/e-smith/config setprop smb ServerString 'A witty name'
/sbin/e-smith/signal-event workgroup-update

Charlie

andrej

Re: Samba and Danish characters issue
« Reply #3 on: August 20, 2003, 11:45:17 PM »
Nice, Charlie ;)

Tx,

Andrej