[ LUGOS ] Sumniki

j j na elite.org
Čet Okt 19 17:00:42 CEST 2000


> Kako nastavim, da bo stvar pravilno delovala?

domnevam da to  "leti" na sambo, ki pa nima nobene zveze s sumniki v
konzoli. ;->

kratek odgovor:
client code page = 852
character set = ISO8859-2

dolg:

character set (G)
This allows a smbd to map incoming filenames from a DOS Code page (see the
client code page parameter) to several built in UNIX character sets. The
built in code page translations are:

<...>
ISO8859-2 Eastern European UNIX character set. The parameter client code
page MUST be set to code page 852 if the character set parameter is set to
ISO8859-2 in order for the conversion to the UNIX character set to be done
correctly.

<...>
BUG. These MSDOS code page to UNIX character set mappings should be dynamic,
like the loading of MS DOS code pages, not static.

See also client code page. Normally this parameter is not set, meaning no
filename translation is done.

Default: character set = <empty string>

Example: character set = ISO8859-2

client code page (G)
This parameter specifies the DOS code page that the clients accessing Samba
are using. To determine what code page a Windows or DOS client is using,
open a DOS command prompt and type the command "chcp". This will output the
code page. The default for USA MS-DOS, Windows 95, and Windows NT releases
is code page 437. The default for western european releases of the above
operating systems is code page 850.

This parameter tells smbd which of the codepage.XXX files to dynamically
load on startup. These files, described more fully in the manual page
make_smbcodepage (1), tell smbd how to map lower to upper case characters to
provide the case insensitivity of filenames that Windows clients expect.

Samba currently ships with the following code page files :

Code Page 437 - MS-DOS Latin US

Code Page 737 - Windows '95 Greek

Code Page 850 - MS-DOS Latin 1

Code Page 852 - MS-DOS Latin 2

Code Page 861 - MS-DOS Icelandic

Code Page 866 - MS-DOS Cyrillic

Code Page 932 - MS-DOS Japanese SJIS

Code Page 936 - MS-DOS Simplified Chinese

Code Page 949 - MS-DOS Korean Hangul

Code Page 950 - MS-DOS Traditional Chinese

Thus this parameter may have any of the values 437, 737, 850, 852, 861, 932,
936, 949, or 950. If you don't find the codepage you need, read the comments
in one of the other codepage files and the make_smbcodepage (1) man page and
write one. Please remember to donate it back to the Samba user community.

This parameter co-operates with the "valid chars" parameter in determining
what characters are valid in filenames and how capitalization is done. If
you set both this parameter and the "valid chars" parameter the "client code
page" parameter MUST be set before the "valid chars" parameter in the
smb.conf file. The "valid chars" string will then augment the character
settings in the "client code page" parameter.

If not set, "client code page" defaults to 850.

See also : "valid chars"

Default: client code page = 850

Example: client code page = 852






Dodatne informacije o seznamu Starilist