RE: National character set and Samba shares



Try to change (or set if there are none) values of server-side charset
parameters (such as "dos charset" / "unix charset") in the configuration
on Samba server you are mounting filesystems from.

Alexey Fadyushin
Brainbench MVP for Linux
http://www.brainbench.com

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of fernando@xxxxxxxxxxxxx
Sent: Wednesday, September 27, 2006 5:26 PM
To: redhat-list@xxxxxxxxxx
Subject: National character set and Samba shares

Hi There,

My network contains a RHEL4 server that runs Oracle and a few
Conectiva /
Mandriva servers running
Samba. The problem is, when I mount the Samba shares on the RHEL
machine,
it can't display correctly
file names that contain national characters (almost all file names, as
I
am in Brazil). This is
preventing me to deploy a document management system. Swtiching to NFS
is
not a solution for a
number of reasons I can't discuss here.

Man pages describe the use of smbmount switches such as codepage and
iocharset, but whatever
switches I give to smbmount I allways end up getting wrong file names.
Using iconv I found the RHEL
machine allways sees file names encoded as CP850 (DOS code-page for
western european languages). But
using iconv doesn't allows a local application on the RHEL box to open
the
remote files serverd from
the remote samba share.

I need the kernel on the RHEL server (or the smbfs filesystem) to
convert
CP850 received fom smb
packets to UTF-8 names before presenting them to applications, and
vice-
versa. Does anyone knows how
to do this?


[]s, Fernando Lozano

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Does samba 3.0.14Aa on OS 5.0.6 work with ldapsam backend on another LDAP server?
    ... used 3.0.9 on SCO 5.0.6 for quite some time after suffering problems I ... a RedHat4 box running samba 3.0.10 and OpenLDAP 2.2.13. ... and no LDAP server (although there were the ... share on the SCO server without any smbpasswd on that server! ...
    (comp.unix.sco.misc)
  • Re: Trying to replace an NT 4.0 PDC
    ... I am trying to replace a Windows NT 4.0 PDc w/ RHEL and Samba. ... I want to create this Domain2 and use it for testing and eventally move the users and macines over, by creating new users on the server and I guess an entery for the machine and a Samba user for each. ... Then when we are all moved over I am gonna have DHCP on the Red hat box use 192.168.1.X and of course I am gonna exclude like the first 100 IP's for the servers and printer. ...
    (alt.os.linux.redhat)
  • [HPADM] RE: Mapping Samba Share to XP
    ... "The mapped network drive could not be created because the following error occurred: The remote computer is not available." ... Is there anything I need to change in the configuration on the CIFS server? ... I am unable to map to the Windows XP clients on the 158 subnet still, but this is due to the firewall, so if someone knows how I can make that happen, please let me know? ... Mapping Samba Share to XP ...
    (HP-UX-Admin)
  • samba 3.0 does not list servers when "map to guest = bad user" ?
    ... I've been trying to configure a samba 3.0 server to play nicely both ... with smbclient and with MS windows. ... At present, if I try to view the list of shares from within windows, I ...
    (Debian-User)
  • Re: mount Linux directory on Windows
    ... and its for mounting Windows directory on Linux using Windows Samba Server. ... I want mount linux directory using Linux Samba Server on Windows Client. ...
    (RedHat)