[Samba] upgrade from 2.2.7a to 3.0.0, problem with client code page [long]

Stefan G. Weichinger monitor at oops.co.at
Mon Dec 8 06:31:13 GMT 2003


Hello, Mariusz,

Montag, 08. Dezember 2003, 06:20 you wrote:


MM> Now I trying migrate existing configuration and filesystem to samba
MM> 3.0.0, and I have some problems with client code page, because, when I
MM> add line above to smb.conf in version 3.0.0 then I get following errors in

MM> log.nmbd

MM> [2003/12/02 07:28:29, 0] nmbd/nmbd.c:main(664)
MM>   Netbios nameserver version 3.0.0 started.
MM>   Copyright Andrew Tridgell and the Samba Team 1994-2003
MM> [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422)
MM>   Unknown parameter encountered: "client code page"
MM> [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150)
MM>   Ignoring unknown parameter "client code page"
MM> [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422)
MM>   Unknown parameter encountered: "character set"
MM> [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150)
MM>   Ignoring unknown parameter "character set"

Samba-3 does not know about "client code page" and "character set".
It uses Unicode instead.
Remove or comment these 2 parameters.

MM> In efect:

MM> When I running new samba software, people can't open files with polish
MM> character in file name.

MM> I installed new samba from source, and configured samba by type
MM> ./configure
MM> make
MM> make install

MM> In catalog
MM> /usr/local/samba/lib/charset, I see CP850.so file , but I can't find
MM> CP852.so, should I download some packet  ?.

MM> (Old) samba in version 2.2.7a that have been installed from rpm (my
MM> Linux is RH9.0) had this files in

MM> /usr/share/samba/codepages/

MM> codepage.852
MM> unicode_map.852
MM> unicode_map.ISO8859-2

MM> What shuld I do to resolve this problem ?

AFAIK, Samba-3 does not need those files anymore.

Have you gotten rid of the old Samba-rpms already?

If no, remove Samba-3 with

$ make uninstall

then remove Samba-2 with something like

$ rpm -e samba-client.rpm
$ rpm -e samba-server.rpm

Check any remains with

$ rpm -qa | grep samba
$ rpm -qa | grep smb

Then reinstall Samba-3:

$ make install

--

How much data do you have on that Samba-server?
-- 
best regards,
Stefan G. Weichinger
mailto:monitor at oops.co.at





More information about the samba mailing list