3.7 Configuring the NCP Server Local Code Page

NCP Server supports most commonly used code pages. NCP Server by default uses the code page corresponding to the code page used by the Linux server operating system that is specified at install time.

For example, if the Linux server is installed as a Japanese server, NCP Server uses the shift-JIS as its local code page. If the Linux server is installed as a French server, NCP Server uses the CP850 as its local code page.

Some examples of code page are CP437, CP850, CP737, CP866, CP874, CP949, SJIS, BIG5, and GBK. For a complete list of available code pages, open a terminal console, then enter

iconv --list | more

If you want NCP Server to use a code page that might be different than the one that is set for the Linux server, you must specify that code page in the /etc/opt/novell/ncpserv.conf configuration file. After you modify the initial setting, the code page for NCP Server does not change if you change the code page used for the Linux server. You must modify the settings separately as needed.

3.7.1 Using OES Remote Manager for Linux to Configure the Local Code Page

To set the code page parameter by using OES Remote Manager for Linux:

  1. In a Web browser, access OES Remote Manager for Linux on the server, then log in as the root user.

    The URL is the IP address of the server (such as 192.168.1.1) and port 8009.

    https://192.168.1.1:8009
  2. Select Manage NCP Services > Manage Server to view the Server Parameter Information.

  3. Click the link for the LOCAL_CODE_PAGE setting.

  4. In New Value, type the new code value you want to use for NCP Server, then click Change.

  5. On the Server Parameter Information page, verify that the new setting is displayed for the LOCAL_CODE_PAGE parameter.

3.7.2 Editing the /etc/opt/novell/ncpserv.conf File to Configure the Local Code Page

To manually edit the value in the /etc/opt/novell/ncpserv.conf file:

  1. Open the /etc/opt/novell/ncpserv.conf configuration file in a text editor.

  2. Add the following command line:

    LOCAL_CODE_PAGE Code_Page

    Replace Code_Page with the code page you want to use for NCP Server. It can be the same or different than the code page currently assigned.

  3. Save the file.

  4. Restart the NetIQ eDirectory (ndsd) daemon by entering the following commands:

    rcndsd stop
    rcndsd start

    or

    systemctl stop ndsd.service
    systemctl start ndsd.service