[Samba] trouble with german special chars on smb shares

Dexter Filmore Dexter.Filmore at gmx.de
Fri Jan 23 11:55:21 GMT 2004


Setup: two Slackware9.1 boxen with Samba 3.0.1 (tried 2.2.x as well), where
xerxes: is a file server and
shodan: is the client 

on xerxes there are 3 shared vfats (the errors I am going to describe occur on
ext2/3 in exactly the same way)

When I do:
dexter at xerxes:/mnt/f/smbtest$ touch Umlaute_öäü

I get:
dexter at xerxes:/mnt/f/smbtest$ ls
Umlaute_öäü

Just like it should.

BUT: on the client machine:

shodan:/mnt/xerxes/f/smbtest$ ls
Umlaute_:201d:201e:x81*

AND

shodan:/mnt/xerxes/f/smbtest$ rm Umlaute_\:201d\:201e\:x81
rm: Cannot delete »Umlaute_:201d:201e:x81« : file or directory not found

Now I do it the other way round and create the file from the client.

shodan:/mnt/xerxes/f/smbtest$ touch Umlaute_öäü
shodan:/mnt/xerxes/f/smbtest$ ls
Umlaute_öäü

Everything fine on the client, but on the server:

dexter at xerxes:/mnt/f/smbtest$ ls
Umlaute_÷õ³

I've been fumbling around with this for bob knows how long and just can't find
the error.

locales are set like this:
LANG=de_DE at euro on both server and client
Both server and client have defualt remote nls codepage 850

fstab entries on server look like this:
/dev/hda6 /mnt/a6 vfat
rw,suid,dev,exec,auto,users,umask=002,iocharset=iso8859-1,codepage=850 1 0

fstab entries on client look like this:
//xerxes/mm3 /mnt/xerxes/f smbfs
credentials=xxxxxxxxxx,uid=1000,gid=100,rw,iocharset=iso8859-1,codepage=cp850
,users 0 0

global section on server (3.0.1):

unix charset = iso8859-1
dos charset = cp850
client codepage = 850

I'm out of ideas.

Dex


More information about the samba mailing list