[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Samba Arabic support



On Wednesday 07 April 2004 12:27 pm, Anmar Oueja wrote:
> Salam Mohammed:
>
> I can assure you that Samba 3.0 supports UTF-8 and does support Arabic
> on linux. could you shed some light on what you are using for a client,
> server setup.

First, I am using Mandrake 10. I tried to connect to WinXP's PC's in my 
network via smbclient, LinNeighborhood and Smb4K. None of them is able to 
read the arabic filenames. My arabic shares reside in the Windows PC and I am 
trying to reach them from GNU/Linux.

These commented lines are the lines which may be relevant in my smb.conf file. 
I left them as they are.

# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
;   client code page = 850
;   character set = ISO8859-1

Now, checkingfor defaults in my system:
[root at localhost emunzir]# testparm -v |egrep "charset|unicode"
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

        dos charset = CP850
        unix charset = UTF-8
        display charset = LOCALE
        unicode = Yes

This all I can tell. I hope Anmar, Mohammed, or Elzubeir can lend a hand since 
they use it.

> I have tested Samba 3.0 with XFS file system and all worked well. No
> problems there...

wow! But is it related in any way to the filesystem used?

>
> Mohammed Sameer wrote:
>
> <<snip>>
>
> >>Ok now Why's and How's but Is's.
> >>Is your other OS windows XP, 2000, 2003?
> >
> > yes, winXP

strange!

> >>If not (which means 9x or Me) the filenames aren't encoded in utf-8 (may
> >> be iso8859-6) and hence you can display it properly from linux. If this
> >> argument is wrong please send me privately your smb.conf file.
> >
> > didn't get it!!

I meant to say that the encoding of the filenames in WinXP/2000/2003 is utf-8 
whereas if we are using win9x/ME the name of the file will be encoded in 
iso8859-6, am I wrong Muhammad? (don't know how can I prove this though!)

-- 
  __/    __/          _/  _/  _/
 _/ _\  _/ _\            _/
_/    \ /   _\ unzir    _/ aha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Linux Registered User #279362 at http://counter.li.org
Mandrake Club member
Maintainer of Mandrake Arabization Project Status
http://www.arabeyes.org/download/documents/distro/mdkarabicsupport.html
CIW Designer, ICDL, MOUS
New Horizons CLC
Riyadh, SA