Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: dwater on January 11, 2005, 09:30:06 AM

Title: upgrading Samba to 3.X/chinese
Post by: dwater on January 11, 2005, 09:30:06 AM
I am having problems with client computers using Chinese characters in filenames.

I am running SME 6.0, and I am not near the server at the moment, so I am not sure what version of Samba it is running, but I think it's 2.something. So, I think I need to upgrade to Samba 3.X in order to get the advanced unicode support.

Does anyone have any advice?

Max.

PS. I found this guide for upgrading :

<http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/upgrading-to-3.0.html>
Title: upgrading Samba to 3.X/chinese
Post by: yscheung on January 11, 2005, 03:31:05 PM
Hello,
Show the samba version can use:
# smbd -V

If you want to setup the samba to support chinese charaecter , can can change the
/etc/e-smith/templates/etc/smb.conf/11clientCodePage
services, "smb", "ClientCodePage") || "950";

and
/etc/e-smith/templates/etc/smb.conf/11characterSet services, "smb", "CharacterSet") || "big5";
Title: Re: upgrading Samba to 3.X/chinese
Post by: dwater on January 11, 2005, 03:59:50 PM
Quote from: "yscheung"
Hello,
Show the samba version can use:
# smbd -V


I am not near a computer right now; what does it report for an SME 6.0 machine?

As a matter of interest, what version of samba comes with the latest SME (6.0.1?)

Quote from: "yscheung"

If you want to setup the samba to support chinese charaecter , can can change the
/etc/e-smith/templates/etc/smb.conf/11clientCodePage
services, "smb", "ClientCodePage") || "950";


eh? that doesn't sound right. Shouldn't I copy that file to the .../templates-customer/... folder and then edit it?

Quote

and
/etc/e-smith/templates/etc/smb.conf/11characterSet services, "smb", "CharacterSet") || "big5";


Ditto.

In any case, isn't big5 is traditional Chinese and they don't use that in most of China (only Taiwan and a few other parts, IINM).

I tried a similar change - I changed the code page to something like 936 - but I deleted that character set.

I don't understand why I need to change the 'character set' - from the man page, it seems that this sets the character set used to store files on the local machine. Sure, the code page is supposed to specify what is in use by the client(s). Am I wrong?

I am not sure what to do if the clients use different code pages.

It is this last point that makes me think I'd do better to upgrade to Samba 3 since it does much better with unicode characters.

Thanks for your advice. I'll look into the character set some more.

Is it not a good idea to upgrade samba? Has noone done it on an SME server?

Max.
Title: Re: upgrading Samba to 3.X/chinese
Post by: dwater on January 12, 2005, 09:07:17 AM
Quote from: "yscheung"

I am running samba version (as reported by rpm) :

samba-2.2.8a-1es1



Someone on the Samba email list has said that I would do much better if I upgraded to version 3.

Does noone have any advice on upgrading to this version on SME? Will the contribs still work? etc etc?

Max.
Title: upgrading Samba to 3.X/chinese
Post by: smeghead on January 12, 2005, 05:40:24 PM
.. check Greg Zartmans beta contrib area for Samaba 3.0.7 rpms & readme file

HTH
Title: Re: upgrading Samba to 3.X/chinese
Post by: dwater on January 17, 2005, 05:00:46 AM
Quote from: "yscheung"
Show the samba version can use:
# smbd -V

This command reports Version 3.0.7-1.2sme01

Quote from: "yscheung"
If you want to setup the samba to support chinese charaecter , can can change the
/etc/e-smith/templates/etc/smb.conf/11clientCodePage
services, "smb", "ClientCodePage") || "950";

and
/etc/e-smith/templates/etc/smb.conf/11characterSet services, "smb", "CharacterSet") || "big5";


After upgrading to Samba Version 3, I no longer seem to have either of the files 11clientCodePage or 11characterSet in /etc/e-smith/templates/etc/smb.conf/.

Do they still apply to Samba 3 (the man page no longer seems to reference the pages)? If so, how can I recover them?