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

Thiago Lima thiagolima at webforce.com.br
Mon Dec 8 11:00:28 GMT 2003



This will help you. It's a tool to convert your filenames from CP850
(what samba 2.x used) to UTF8 (what samba 3 uses)

http://j3e.de/linux/convmv/



> -----Original Message-----
> From: 
> samba-bounces+thiagolima=webforce.com.br at lists.samba.org 
> [mailto:samba-bounces+thiagolima=webforce.com.br at lists.samba.o
> rg] On Behalf Of Stefan G. Weichinger
> Sent: Monday, December 08, 2003 4:31 AM
> To: samba
> Subject: Re: [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 
> MM> I add line above to smb.conf in version 3.0.0 then I get 
> following 
> MM> 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 
> [2003/12/02 
> MM> 07:28:29, 0] param/loadparm.c:map_parameter(2422)
> MM>   Unknown parameter encountered: "client code page" [2003/12/02 
> MM> 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" [2003/12/02 
> MM> 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 
> MM> polish character in file name.
> 
> MM> I installed new samba from source, and configured samba by type 
> MM> ./configure 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
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list