Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 64 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       make_smbcodepage c|d codepage inputfile outputfile


       This tool is part of the  Samba suite.

       make_smbcodepage  compiles  or  de-compiles codepage files
       for use with the internationalization  features  of  Samba


       c|d    This  tells make_smbcodepage if it is compiling (c)
              a text format code page file to binary, or (d)  de-
              compiling a binary codepage file to text.

              This  is  the codepage we are processing (a number,
              e.g. 850).

              This is the input file to process. In  the  c  case
              this  will  be a text codepage definition file such
              as the ones found  in  the  Samba  source/codepages
              directory.  In  the  d case this will be the binary
              format codepage definition file normally  found  in
              the  lib/codepages  directory  in the Samba install
              directory path.

              This is the output file to produce.


       A text Samba codepage definition  file  is  a  description
       that  tells  Samba how to map from upper to lower case for
       characters greater than ascii 127  in  the  specified  DOS
       code  page.   Note that for certain DOS codepages (437 for
       example) mapping from lower to upper case may be  non-sym­
       metrical. For example, in code page 437 lower case a acute
       maps to a plain upper case A  when  going  from  lower  to
       upper  case,  but  plain  upper case A maps to plain lower
       case a when lower casing a character.

       A binary Samba codepage definition file is a binary repre­
       sentation  of the same information, including a value that
       specifies what codepage this file is describing.

       As Samba does not yet use UNICODE (current for Samba  ver­
       sion  2.2) 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

       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)  code­
       page  files  produced  and placed in the Samba destination
       lib/codepage directory.


       The location of the server and its support files is a mat­
       ter  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!


       This man page is correct for  version  2.2  of  the  Samba


       smbd(8) smb.conf(5)


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



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds