Mariusz Mirkiewicz
2003-Dec-08 05:21 UTC
[Samba] upgrade from 2.2.7a to 3.0.0, problem with client code page [long]
Hello I'm currently using Samba 2.2.7a to run as NT domain, file server and etc. This is fragment of my smb.conf [global] [...] client code page = 852 character set = ISO8859-2 mangle case = yes case sensitive = no preserve case = yes default case = lower short preserve case = no [...] Now I trying migrate existing configuration and filesystem to samba 3.0.0, and I have some problems with client code page, because, when I add line above to smb.conf in version 3.0.0 then I get following errors in log.nmbd [2003/12/02 07:28:29, 0] nmbd/nmbd.c:main(664) Netbios nameserver version 3.0.0 started. Copyright Andrew Tridgell and the Samba Team 1994-2003 [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422) Unknown parameter encountered: "client code page" [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150) Ignoring unknown parameter "client code page" [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422) Unknown parameter encountered: "character set" [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150) Ignoring unknown parameter "character set" In efect: When I running new samba software, people can't open files with polish character in file name. I installed new samba from source, and configured samba by type ./configure make make install In catalog /usr/local/samba/lib/charset, I see CP850.so file , but I can't find CP852.so, should I download some packet ?. (Old) samba in version 2.2.7a that have been installed from rpm (my Linux is RH9.0) had this files in /usr/share/samba/codepages/ codepage.852 unicode_map.852 unicode_map.ISO8859-2 What shuld I do to resolve this problem ?
Mariusz Mirkiewicz
2003-Dec-08 05:31 UTC
[Samba] upgrade from 2.2.7a to 3.0.0, problem with client code page [long]
Hello I'm currently using Samba 2.2.7a to run as NT domain, file server and etc. This is fragment of my smb.conf [global] [...] client code page = 852 character set = ISO8859-2 mangle case = yes case sensitive = no preserve case = yes default case = lower short preserve case = no [...] Now I trying migrate existing configuration and filesystem to samba 3.0.0, and I have some problems with client code page, because, when I add line above to smb.conf in version 3.0.0 then I get following errors in log.nmbd [2003/12/02 07:28:29, 0] nmbd/nmbd.c:main(664) Netbios nameserver version 3.0.0 started. Copyright Andrew Tridgell and the Samba Team 1994-2003 [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422) Unknown parameter encountered: "client code page" [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150) Ignoring unknown parameter "client code page" [2003/12/02 07:28:29, 0] param/loadparm.c:map_parameter(2422) Unknown parameter encountered: "character set" [2003/12/02 07:28:29, 0] param/loadparm.c:lp_do_parameter(3150) Ignoring unknown parameter "character set" In efect: When I running new samba software, people can't open files with polish character in file name. I installed new samba from source, and configured samba by type ./configure make make install In catalog /usr/local/samba/lib/charset, I see CP850.so file , but I can't find CP852.so, should I download some packet ?. (Old) samba in version 2.2.7a that have been installed from rpm (my Linux is RH9.0) had this files in /usr/share/samba/codepages/ codepage.852 unicode_map.852 unicode_map.ISO8859-2 What shuld I do to resolve this problem ?
Stefan G. Weichinger
2003-Dec-08 06:31 UTC
[Samba] upgrade from 2.2.7a to 3.0.0, problem with client code page [long]
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@oops.co.at