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

Mariusz Mirkiewicz samba at altech.pl
Fri Dec 5 11:43:09 GMT 2003


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 ?




More information about the samba mailing list