URN Logo
UNIX Resources » Linux » Linux Forum » Gentoo Help » Page.18 » Samba share with UTF-8 file names
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Samba share with UTF-8 file names
Subject: Samba share with UTF-8 file names
Author: Juho-Mikko Pellinen    Posted: 2005-02-27 18:11:27    Length: 1,796 byte(s)
[Original] [Print] [Top]
Hi!

I need help for getting UTF-8 to work in my network, which consists of 2
Gentoo Linux-machines and 1 Windows 2000 machine.

One Linux-computer "Sahara" is acting as Firewall/Nat/Samba server.
Other Linux-computer "Pallokala" and Windows 2000-computer "Siperia"
acts as client for Samba-server.

So far I have read both Gentoo docs (Localization and UTF-8 guides) and
converted all Saharas files from ios8859-15 to utf-8. Also both
linux-comps have locales 'LANG=fi_FI.utf8' and 'LC_ALL=fi_FI.utf8'.
I previosly used iso8859-15 and fi_FI-locales, but those didn't work well.

The problem is that many characters like ,,, greman double-s '' get
messed. It sucks. I'm right now almost ready to change from smb to nfs
(or coda), but I doubt it will work. Oh, and the problems persist too in
windows-computer. Windows just changes those "unknown" chars to '_'.

What have I tried:
1. Locales to fi_FI.utf8
2. Use convmv to convert filenames
3. set /etc/samba/smb.conf settings to:
    dos charset = 850
    unix charset = UTF-8
   Those should work, if I understood sambas man-pages right.
4. fstab-settings in Pallokala:
//10.0.0.1/share        /mnt/share      smbfs
credentials=/etc/no-need-to-know,user,iocharset=utf-8,codepage=cp850,uid=juhiz,gid=shared
        0 0
   I have played around with those settings.
5. googled and searched forums and read too much useless information
6. cried out loud
7. asked #gentoo at IRCNet
and now
8. posted a message in a.o.l.gentoo

[Original] [Print] [Top]
Subject: Samba share with UTF-8 file names
Author: Jacob Tranholm    Posted: 2005-02-28 14:56:08    Length: 2,264 byte(s)
[Original] [Print] [Top]
Juho-Mikko Pellinen skrev:

QUOTE
Hi!

I need help for getting UTF-8 to work in my network, which consists of 2
Gentoo Linux-machines and 1 Windows 2000 machine.

One Linux-computer "Sahara" is acting as Firewall/Nat/Samba server.
Other Linux-computer "Pallokala" and Windows 2000-computer "Siperia"
acts as client for Samba-server.

So far I have read both Gentoo docs (Localization and UTF-8 guides) and
converted all Saharas files from ios8859-15 to utf-8. Also both
linux-comps have locales 'LANG=fi_FI.utf8' and 'LC_ALL=fi_FI.utf8'.
I previosly used iso8859-15 and fi_FI-locales, but those didn't work well.

The problem is that many characters like ,,, greman double-s '' get
messed. It sucks. I'm right now almost ready to change from smb to nfs
(or coda), but I doubt it will work. Oh, and the problems persist too in
windows-computer. Windows just changes those "unknown" chars to '_'.

What have I tried:
1. Locales to fi_FI.utf8
2. Use convmv to convert filenames
3. set /etc/samba/smb.conf settings to:
dos charset = 850
unix charset = UTF-8
   Those should work, if I understood sambas man-pages right.
4. fstab-settings in Pallokala:
//10.0.0.1/share        /mnt/share      smbfs

credentials=/etc/no-need-to-know,user,iocharset=utf-8,codepage=cp850,uid=juhiz,gid=shared
0 0
   I have played around with those settings.
5. googled and searched forums and read too much useless information
6. cried out loud
7. asked #gentoo at IRCNet
and now
8. posted a message in a.o.l.gentoo

We also need you kernel-settings regarding the smb-filesystem.

At my computer it is something like:
jt@tranholm jt $ grep -i smb
/etc/kernels/kernel-config-x86-2.6.10-gentoo-r6
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="iso8859-1"

[Original] [Print] [Top]
Subject: Samba share with UTF-8 file names
Author: Juho-Mikko Pellinen    Posted: 2005-02-28 16:07:48    Length: 2,704 byte(s)
[Original] [Print] [Top]
Jacob Tranholm wrote:
QUOTE
Juho-Mikko Pellinen skrev:

Hi!


I need help for getting UTF-8 to work in my network, which consists of
2 Gentoo Linux-machines and 1 Windows 2000 machine.


One Linux-computer "Sahara" is acting as Firewall/Nat/Samba server.
Other Linux-computer "Pallokala" and Windows 2000-computer "Siperia"
acts as client for Samba-server.


So far I have read both Gentoo docs (Localization and UTF-8 guides)
and converted all Saharas files from ios8859-15 to utf-8. Also both
linux-comps have locales 'LANG=fi_FI.utf8' and 'LC_ALL=fi_FI.utf8'.
I previosly used iso8859-15 and fi_FI-locales, but those didn't work
well.


The problem is that many characters like ,,, greman double-s ''
get messed. It sucks. I'm right now almost ready to change from smb to
nfs (or coda), but I doubt it will work. Oh, and the problems persist
too in windows-computer. Windows just changes those "unknown" chars to
'_'.


What have I tried:
1. Locales to fi_FI.utf8
2. Use convmv to convert filenames
3. set /etc/samba/smb.conf settings to:
dos charset = 850
unix charset = UTF-8
Those should work, if I understood sambas man-pages right.
4. fstab-settings in Pallokala:
//10.0.0.1/share        /mnt/share      smbfs

credentials=/etc/no-need-to-know,user,iocharset=utf-8,codepage=cp850,uid=juhiz,gid=shared


0 0
I have played around with those settings.
5. googled and searched forums and read too much useless information
6. cried out loud
7. asked #gentoo at IRCNet
and now
8. posted a message in a.o.l.gentoo


We also need you kernel-settings regarding the smb-filesystem.

At my computer it is something like:
jt@tranholm jt $ grep -i smb
/etc/kernels/kernel-config-x86-2.6.10-gentoo-r6
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="iso8859-1"


It was:

juhiz@pallokala juhiz $ grep -i smb /usr/src/linux/.config
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set

I'll try with default nls as utf-8 although I'm overriding that setting
in my fstab-line.
Like:
CONFIG_SMB_FS=m
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="utf-8"

   -JM

[Original] [Print] [Top]
« Previous thread
fbsplash on vanilla2.6.10 kernel
Gentoo Help
Page. 18
Next thread »
Bootsplash on 2.6.10 vanilla kernel?
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 13:18:42, cost 0.068418025970459 ms.