Other Networking Programs
Introduction to NCPFS
The NCPFS package contains client and administration tools for use with Novell networks.
Note: NCPFS has been updated to at least version 2.2.6. The package is no longer in the BLFS Book due to lack of testing capabilities.
- Download (HTTP): http://platan.vc.cvut.cz/ftp/pub/linux/ncpfs/ncpfs-2.2.6.tar.gz
- Download (FTP): ftp://platan.vc.cvut.cz/pub/linux/ncpfs/ncpfs-2.2.6.tar.gz
- Download MD5 sum: a9ab9f135d504440202069393dd9eb36
- Download size: 2 MB
- Estimated disk space required: 30 MB
- Estimated build time: 0.52 SBU
Linux-PAM-0.99.3.0 and PHP-5.1.2
Installation of NCPFS
First, update some files to avoid a storage class error with gcc-4.x and newer:
sed -i -e "s;static int get_argument;int get_argument;" \ lib/ncplib.c && sed -i -e "s;static void add_string;void add_string;" \ util/pserver.c && sed -i -e "s;static void add_string;void add_string;" \ util/nwpjmv.c
Install NCPFS by running the following commands:
./configure --prefix="" --includedir=/usr/include \ --mandir=/usr/share/man --datadir=/usr/share && make && make install && make install-dev
Add a missing link
ln -sf libncp.so.2.3.0 /lib/libncp.so.2.3
--prefix="": Installs binaries on the root partition so that they are available at boot time. This may not be ideal for all systems. If /usr is mounted locally, --prefix=/usr may be a better option.
--includedir=/usr/include: Tells configure to look in /usr/include for header files. It also tells make to install NCPFS's headers here.
--mandir=/usr/share/man: Installs the man pages in the correct location.
--datadir=/usr/share: Correctly installs the locale files to /usr/share.
If you do not need to use the IPX protocol, or you use a different IPX package, you can optionally pass --disable-ipx and/or --disable-ipx-tools to the configure script to disable these options.
A config file ~/.nwclient should be placed in the home directory of each user that intends to use NCPFS. The permissions on this file should be set to 600, for obvious security reasons. The configuration file should contain a single line per server that the user will use. Each line should contain the server name, the user name, and optionally the password. Below is a sample .nwclient file.
# Begin example ~/.nwclient config file Server1/User1 Password Server2/User1 Server2/Guest1 - # End example .nwclient config file
The syntax for the .nwclient file is simple, server_name/user_name password. Be extremely careful when creating or editing this file as the client utilities are very picky about syntax. There should always be a space immediately after the username. If this space is substituted by a tab or multiple spaces, you will not get the expected results when attempting to use the NCPFS tools. If no password is supplied, the client utilities will ask for a password when it is needed. If no password is needed, for instance when using a guest account, a single '-' should be put in place of a password.
It should be noted that ncpmount is not intended to mount individual volumes because each mount point creates a separate client connection to the Novell server. Mounting each individual volume separately would be unwise, as mounting all volumes on a server under one mount point uses only one client connection.
If you need to set up the IPX protocol at boot, you can install the /etc/sysconfig/network-devices/services/ipx network service script included with the blfs-bootscripts-20060423 package.
Next install the /etc/sysconfig/network-devices/ifconfig.eth0/ipx configuration file with the following commands:
install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 && cat > /etc/sysconfig/network-devices/ifconfig.eth0/ipx << "EOF" ONBOOT="yes" SERVICE="ipx" FRAME="<802.2>" EOF
Client Utilities: ncpmount, ncpumountt, nprintt, nsendt, nwpasswdt, nwsfindt, pqlistt, pqrmt, pqstatt, and slist
Server Admin Utilities: ncopyt, nwbocreatet, nwbolst, nwbopropst, nwbormt, nwbpaddt, nwbpcreatet, nwbprmt, nwbpsett, nwbpvaluest, nwdirt, nwdpvaluest, nwfsctrlt, nwfsinfot, nwfstimet, nwgrantt, nwpurget, nwrevoket, nwrightst, nwtrusteet, nwtrustee2t, nwuserlistt, and nwvolinfo IPX Interface Utilities: ipx_cmdt, ipx_configuret, ipx_interfacet, ipx_internal_nett, and ipx_route
Other Utilities: ncpmap and nwauth
Installed Libraries: None
Installed Directories: None