3.2 Setting Up NCP Server

After installing NCP Server for Linux, you might need to create and mount NCP volumes on your Linux server. NCP volumes on Linux can be created on the NSS file system using the same utilities as on NetWare®, or you can create NCP volume mount points on any Linux file system using NCPCON commands or Novell® Remote Manager (NRM). A SYS NCP volume mount point is automatically created and mounted when NCP Server is installed. The path to the this mount point is /usr/novell/sys. This volume contains the same login and public directories that exist on NetWare. These directories let Novell clients run commands for logging in, mapping drives, etc., as well as providing the means for client commands to be run from login scripts.

3.2.1 Creating NCP Volumes

If you want to make traditional Linux file system files and directories on a Linux server accessible to workstations running Novell Client™ software, you must create one or more NCP volumes on that Linux server. Creating an NCP volume on a Linux server (traditional Linux file system) creates an NCP volume name and associates it to a path for a mount point. Novell clients can then access files and folders on that NCP volume just like they do on NetWare.

Creating an NCP Volume Using NCPCON

At the Linux Server console, type ncpcon create volume ncp_volume_name path.

Replace ncp_volume_name with the name you want to assign to the new volume. Volume names are not case sensitive. Replace path with the path to the directory on your Linux server where you want the mount point to be created. For example, if volume name is vol1 and the path is /home/novell/vol1, then you would type

ncpcon create volume vol1 /home/novell/vol1

This command does not remove or delete data. It only adds the NCP volume mount information to /etc/opt/novell/ncpserv.conf.

NOTE:You can also type ncpcon at the Linux server console to access the ncpcon utility and then enter NCP console commands without prefacing them with ncpcon in the command. Type help while in the ncpcon utility to get a list of and descriptions for available commands.

Creating an NCP Volume Using Novell Remote Manager

  1. Access Novell Remote Manager by pointing your browser to the URL of the server where NCP Server is running.

    Do this by entering the following in the address (URL) field:

    http://server’s_TCP/IP_address:8008 or other_configured_port_number

    For example:

    http://172.16.123.11:8008

  2. On the Novell Remote Manager main page in the left column under Manage NCP Services, click Manage Shares, then click Create New Share.

  3. Enter the name of the NCP volume you want to create, and if desired, select the Inherit POSIX Permissions and Enable Archive Bit check boxes. Then click OK.

    The share name you specify is the volume name NCP clients will see. It will be associated to a path on your Linux server.

    See Section 3.3.5, Setting Volume Definition Flags for more information on the options to inherit POSIX permissions and enable the archive bit.

  4. Enter the path to the share name, then click OK to confirm the creation of the volume (share).

    This creates a mount point to the volume (share) name you specified and “mounts” it to make it accessible to NCP clients.

Using Novell Remote Manager or NCPCON to create an NCP volume does not create an NSS volume. This method applies to file systems other than NSS. If you want to create an NSS volume on your OES server, you must have the NSS component of OES installed. You can then use NSSMU or iManager to create NSS partitions, pools, and volumes.

Novell clients (Windows or Linux machines running Novell Client software) can access NSS files on a Linux server if

  • You have NCP Server installed on your OES Linux server (installed by default with OES).
  • You have created an NSS partition, pool, and volumes.
  • You have made the appropriate volume trustee assignments (for non-admin users).

3.2.2 Mounting NCP Volumes

After creating an NCP volume, you must mount it to make it accessible to Novell clients. Any NCP volume that has been dismounted must also be mounted before it can be accessed by Novell clients.

If you created an NCP volume using Novell Remote Manager, the volume is automatically mounted when it is created.

Mounting an NCP Volume Using NCPCON

At the Linux Server console, type ncpcon mount ncp_volume_name.

Replace ncp_volume_name with the name of the volume you want to mount. For example, if volume sys was dismounted and you wanted to mount it, you would type

ncpcon mount sys

Mounting an NCP Volume Using Novell Remote Manager

On the Novell Remote Manager main page in the left column under Manage NCP Services, click Manage Shares, then click the Mount button next to the NCP volume you want to mount.