Dexter Filmore
2004-Jan-23 11:56 UTC
[Samba] trouble with german special chars on smb shares
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@xerxes:/mnt/f/smbtest$ touch Umlaute_??? I get: dexter@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@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@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
Dexter Filmore
2004-Jan-25 14:10 UTC
[Samba] trouble with german special chars on smb shares
Nobody? Absolutely no clue? Need more info? On Fri, 23 Jan 2004 12:55:21 +0100 Dexter Filmore <Dexter.Filmore@gmx.de> wrote:> > 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@xerxes:/mnt/f/smbtest$ touch Umlaute_??? > > I get: > dexter@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@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@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=cp8 > 50,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 > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 FGCS d--(+)@ s-:+ a- C+++(++++) UL+>++++ P+>++ L+++>++++ E-- W++ N o? K- w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---)@ 5 X+(++) R+(++) tv--(+)@ b+(+++) DI+++ D G++ e* h>++ r%>* y? ------END GEEK CODE BLOCK------ http://www.againsttcpa.com - nothing fights like the opposition
Andrew Bartlett
2004-Jan-26 00:00 UTC
[Samba] trouble with german special chars on smb shares
On Mon, 2004-01-26 at 01:09, Dexter Filmore wrote:> Nobody? Absolutely no clue? Need more info?smbfs between two linux boxes is always doomed to this kind of failure. The character conversions are just too messy, and as smbfs is using DOS codepages, not unicode, it just gets worse. Either use the CIFS vfs, or just NFS. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20040126/0af2421f/attachment.bin