4 >make_smbcodepage
</TITLE
7 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.57"></HEAD
17 NAME=
"MAKE-SMBCODEPAGE"
27 >make_smbcodepage
--
construct a codepage file for Samba
</DIV
29 CLASS=
"REFSYNOPSISDIV"
39 > {c|d} {codepage} {inputfile} {outputfile}
</P
49 >This tool is part of the
<A
58 > compiles or de-compiles
59 codepage files for use with the internationalization features
82 if it is compiling (
<TT
88 page file to binary, or (
<TT
94 a binary codepage file to text.
</P
100 >This is the codepage we are processing (a
101 number, e.g.
850).
</P
107 >This is the input file to process. In
113 > case this will be a text
114 codepage definition file such as the ones found in the Samba
117 >source/codepages
</TT
124 > case this will be the
125 binary format codepage definition file normally found in
130 Samba install directory path.
</P
136 >This is the output file to produce.
</P
147 >Samba Codepage Files
</H2
149 >A text Samba codepage definition file is a description
150 that tells Samba how to map from upper to lower case for
151 characters greater than ascii
127 in the specified DOS code page.
152 Note that for certain DOS codepages (
437 for example) mapping
153 from lower to upper case may be non-symmetrical. For example, in
154 code page
437 lower case a acute maps to a plain upper case A
155 when going from lower to upper case, but plain upper case A maps
156 to plain lower case a when lower casing a character.
</P
158 >A binary Samba codepage definition file is a binary
159 representation of the same information, including a value that
160 specifies what codepage this file is describing.
</P
162 >As Samba does not yet use UNICODE (current for Samba version
2.2)
163 you must specify the client code page that your DOS and Windows
164 clients are using if you wish to have case insensitivity done
165 correctly for your particular language. The default codepage Samba
166 uses is
850 (Western European). Text codepage definition sample files
167 are provided in the Samba distribution for codepages
437 (USA),
737 (Greek),
168 850 (Western European)
852 (MS-DOS Latin
2),
861 (Icelandic),
866 (Cyrillic),
169 932 (Kanji SJIS),
936 (Simplified Chinese),
949 (Hangul) and
950 (Traditional
170 Chinese). Users are encouraged to write text codepage definition files for
171 their own code pages and donate them to samba@samba.org. All codepage files
174 >source/codepages
</TT
176 compiled and installed when a
<B
180 command is issued there.
</P
182 >The client codepage used by the
<B
186 is configured using the
<B
205 >codepage_def.
<codepage
></B
208 >These are the input (text) codepage files provided in the
211 >source/codepages
</TT
214 >A text codepage definition file consists of multiple lines
215 containing four fields. These fields are:
</P
225 (hex) lower case character mapped on this line.
</P
232 >: which is the (hex)
233 upper case character that the lower case character will map to.
240 >map upper to lower
</B
242 is a boolean value (put either True or False here) which tells
243 Samba if it is to map the given upper case character to the
244 given lower case character when lower casing a filename.
251 >map lower to upper
</B
253 is a boolean value (put either True or False here) which tells
254 Samba if it is to map the given lower case character to the
255 given upper case character when upper casing a filename.
262 >codepage.
<codepage
></B
264 output (binary) codepage files produced and placed in the Samba
278 >The location of the server and its support files is a
279 matter for individual system administrators. The following are
280 thus suggestions only.
</P
282 >It is recommended that the
<B
286 > program be installed under the
<TT
290 > hierarchy, in a directory readable by all, writeable
291 only by root. The program itself should be executable by all. The
292 program should NOT be setuid or setgid!
</P
302 >This man page is correct for version
2.2 of
322 HREF=
"smb.conf.5.html"
336 >The original Samba software and related utilities
337 were created by Andrew Tridgell. Samba is now developed
338 by the Samba Team as an Open Source project similar
339 to the way the Linux kernel is developed.
</P
341 >The original Samba man pages were written by Karl Auer.
342 The man page sources were converted to YODL format (another
343 excellent piece of Open Source software, available at
345 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
347 > ftp://ftp.icce.rug.nl/pub/unix/
</A
348 >) and updated for the Samba
2.0
349 release by Jeremy Allison. The conversion to DocBook for
350 Samba
2.2 was done by Gerald Carter
</P