Subject: Re: netatalk and samba and national characters
From: Sascha Dengler (dengler@kiconsult.de)
Date: Tue Mar 28 2000 - 09:10:05 EST
on 2000-03-28 14:08 Uhr, Andreas Lehmann at lehmann@managementakademie.de
wrote:
> Dear list,
>
> we have running SuSE-linux 6.3 system running samba and netatalk. The files
> are shared among Mac and Windows PC clients.
>
> The users use to write file names with (german) national characters like
> u-umlaut.
>
> Now the following happens:
>
> File names created by the Mac are ok to the Mac (an "ü" (u-umlaut) appears
> as an "ü" (u-umlaut)).
>
> File names created by the PC are ok to the PC (
> " " ).
>
> File names created by the Mac show wrong names to the PC ("ü" (u-umlaut)
> show as "9f" on the PC).
> File names created by the PC show wrong names to the Mac ("ü" (u-umlaut)
> show as "," on the Mac).
>
> What are we doing wrong here? Is there any known solution for this?
>
>
> Thanks in advance
>
>
> Andreas
>
Hi Andreas,
you have to compile NLS-Support into your kernel (optional modular).
The modul is named "nls_iso8859-1". Now is your linux capable of
interpreting ISO8859-1 (standard character set for english/german/etc.)
Now you have to set your share in atalk => Applevolumes.default:
/mnt/share "DATA" codepage=maccode.iso8859-1
Important is the codepage instruction.
Now you have to set your share in samba => smb.conf:
[DATA]
path = /mnt/share
character set = iso8859-1
Important is the character set instruction.
I think it's a global setting, try.
Now load the module with insmod/modprobe and restart atalk and samba.
Finished.
It works fine for me, but it is not perfect.
Sascha
Dengler@gmx.net
P.S. A little goodie, I also use in smb.conf:
veto files = /.AppleDouble/.bin/.AppleDesktop/Network TrashFolder/\
/TheFindByContentFolder/TheVolumeSettingsFolder/
to hide the Mac-Files! :-)
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:19 EST