make_smbcodepage (1)

Samba

23 Oct 1998

NAME

make_codepage - Membuat file codepage untuk Samba

SINOPSIS

make_smbcodepage [c|d] codepage inputfile outputfile

DESKRIPSI

File ini merupakan bagian dari suite Samba.

make_smbcodepage meng-kompilasi atau men-dekompilasi file codepage untuk digunakan sebagai feature internationalization (i18n) dari Samba 2.0

OPSI

c|d
Memberitahu make_smbcodepage apakah melakukan kompilasi (c) dari format text ke biner, atau (d) melakukan dekompilasi dari biner ke text file.

codepage
Merupakan codepage yang kita sedang buat (dalam format angka, contoh.850)

inputfile
Merupakan file input yang akan diproses. Dalam opsi 'c' merupakan codepage text seperti yang ada di direktori source/codepages dari Samba. Sedang dalam 'd' merupakan format biner yang biasanya ada di direktori lib/codepages dalam path tempat kita install Samba

outputfile
Merupakan output yang akan dihasilkan.

File Codepage Samba

File text dari Samba codepage definition adalah deskripsi yang memberitahu Samba bagaimana melakukan map dari huruf kapital ke huruf kecil, untuk karakter di atas ASCII 127 dalam codepage DOS. Catat bahwa beberapa codepage DOS (seperti 437), proses ini bisa jadi asimetris. Contoh, huruf 'a' dalam kodepage 437 akan dimap berbeda dengan A pada saat keduanya di-map dari huruf kecil ke besar dan sebaliknya.

File biner daro Samba codepage definition adalah adalah representasi dari informasi yang sama dalam bentuk biner. Di sini termasuk juga spesifikasi codepage yang dideskripsikan.

Karena Samba sampai versi 2.0 belum menggunakan UNICODE, maka anda harus memberikan spesifikasi codepage dari klien As Samba does not yet use UNICODE (current for Samba version 2.0) you must specify the client code page that your DOS and Windows clients are using if you wish to have case insensitivity done correctly for your particular language. The default codepage Samba uses is 850 (Western European). Text codepage definition sample files are provided in the Samba distribution for codepages 437 (USA), 737 (Greek), 850 (Western European) 852 (MS-DOS Latin 2), 861 (Icelandic), 866 (Cyrillic), 932 (Kanji SJIS), 936 (Simplified Chinese), 949 (Hangul) and 950 (Traditional Chinese). Users are encouraged to write text codepage definition files for their own code pages and donate them to samba-bugs@samba.org. All codepage files in the Samba source/codepages directory are compiled and installed when a 'make install' command is issued there.

The client codepage used by the smbd server is configured using the client code page parameter in the smb.conf file.

FILES

codepage_def.<codepage>

These are the input (text) codepage files provided in the Samba source/codepages directory.

A text codepage definition file consists of multiple lines containing four fields. These fields are :

  • lower: which is the (hex) lower case character mapped on this line.

  • upper: which is the (hex) upper case character that the lower case character will map to.

  • map upper to lower which is a boolean value (put either True or False here) which tells Samba if it is to map the given upper case character to the given lower case character when lower casing a filename.

  • map lower to upper which is a boolean value (put either True or False here) which tells Samba if it is to map the given lower case character to the given upper case character when upper casing a filename.

  • codepage.<codepage> These are the output (binary) codepage files produced and placed in the Samba destination lib/codepage directory.

    INSTALLATION

    The location of the server and its support files is a matter for individual system administrators. The following are thus suggestions only.

    It is recommended that the make_smbcodepage program be installed under the /usr/local/samba hierarchy, in a directory readable by all, writeable only by root. The program itself should be executable by all. The program should NOT be setuid or setgid!

    VERSION

    This man page is correct for version 2.0 of the Samba suite.

    SEE ALSO

    smb.conf(5), smbd (8)

    AUTHOR

    The original Samba software and related utilities were created by Andrew Tridgell samba-bugs@samba.org. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

    The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba2.0 release by Jeremy Allison. samba-bugs@samba.org.

    See samba (7) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.