glfs/basicnet/netprogs/ncpfs.xml
Bruce Dubbs d47e7ea95e XML Update -- Chapter 18
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2301 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-06-12 05:30:15 +00:00

196 lines
7.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY ncpfs-download-http "http://platan.vc.cvut.cz/ftp/pub/linux/ncpfs/ncpfs-&ncpfs-version;.tar.gz">
<!ENTITY ncpfs-download-ftp "ftp://platan.vc.cvut.cz/pub/linux/ncpfs/ncpfs-&ncpfs-version;.tar.gz">
<!ENTITY ncpfs-size "1.6 MB">
<!ENTITY ncpfs-buildsize "30 MB">
<!ENTITY ncpfs-time "0.52 SBU">
]>
<sect1 id="ncpfs" xreflabel="NCPFS-&ncpfs-version;">
<?dbhtml filename="ncpfs.html"?>
<title>NCPFS-&ncpfs-version;</title>
<sect2>
<title>Introduction to <application><acronym>NCPFS</acronym></application></title>
<para>The <application><acronym>NCPFS</acronym></application> package
contains client and administration tools for use with Novell
networks.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&ncpfs-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&ncpfs-download-ftp;"/></para></listitem>
<listitem><para>Download size: &ncpfs-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&ncpfs-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&ncpfs-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application><acronym>NCPFS</acronym></application> dependencies</title>
<sect4><title>Optional</title>
<para>
<xref linkend="Linux_PAM"/> and
<xref linkend="php"/>
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application><acronym>NCPFS</acronym></application></title>
<para>Install <application><acronym>NCPFS</acronym></application> by running the following commands:</para>
<screen><userinput>./configure --prefix="" --includedir=/usr/include \
--mandir=/usr/share/man --datadir=/usr/share &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
make install-dev</userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--prefix=""</parameter>:
installs binaries on the root partition so that they are available at
boot time. This may not be ideal for all systems. If
<filename class="directory">/usr</filename> is mounted locally,
<parameter>--prefix=/usr</parameter> may be a better option.</para>
<para><parameter>--includedir=/usr/include</parameter>: Tells configure
to look in <filename class="directory">/usr/include</filename> for header files. It also
tells make to install <application>NCPFS</application>'s headers here.</para>
<para><parameter>--mandir=/usr/share/man</parameter>: installs the man
pages in the correct location.</para>
<para><parameter>--datadir=/usr/share</parameter>: correctly installs the
locale files to <filename class="directory">/usr/share</filename>.</para>
<note><para>If you do not need to use the <acronym>IPX</acronym> protocol, or you use a different
<acronym>IPX</acronym> package, you can optionally pass <parameter>--disable-ipx</parameter>
and/or <parameter>--disable-ipx-tools</parameter> to the configure
script to disable these options.</para></note>
</sect2>
<sect2>
<title>Configuring <application>NCPFS</application></title>
<sect3><title>Config files</title>
<para><filename>~/.nwclient</filename></para>
</sect3>
<sect3><title>Configuration Information</title>
<para>A config file <filename>~/.nwclient</filename> should be placed
in the home directory of each user that intends to use <application>ncpfs</application>. 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 <filename>.nwclient</filename> file.</para>
<screen><userinput># Begin example <filename>~/.nwclient</filename> config file
Server1/User1 Password
Server2/User1
Server2/Guest1 -
# End example .nwclient config file</userinput></screen>
<para>The syntax for the <filename>.nwclient</filename> file is simple,
<userinput>server_name/user_name password</userinput>. 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 <application>NCPFS</application> 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.</para>
<para>It should be noted that the 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.</para>
<para>If you need to set up the <acronym>IPX</acronym> protocol at boot,
you can install the
<filename>/etc/sysconfig/network-devices/services/ipx</filename>
network service script included with the
<xref linkend="intro-important-bootscripts"/> package.</para>
<screen><userinput><command>make install-service-ipx</command></userinput></screen>
<para>Next install the configurations script,
<filename>ifconfig.ipx0</filename>. The configuration assumes
<acronym>IPX</acronym> will be set up on
<emphasis role="strong">eth0</emphasis>
and the network frame type is 802.2. You should confirm that these are
the correct settings and adjust as necessary.</para>
<para><emphasis>Note</emphasis>: This will overwrite any existing file.</para>
<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifconfig.ipx0 &lt;&lt; "EOF"</command>
ONBOOT=yes
SERVICE=ipx
IPXDEV=eth0
FRAME=802.2
<command>EOF</command></userinput></screen>
</sect3>
</sect2>
<sect2>
<title>Contents</title>
<itemizedlist>
<listitem><para><emphasis>Client Utilities:</emphasis> <command>
ncpmount</command>, <command>ncpumountt</command>,
<command>nprintt</command>, <command>nsendt</command>,
<command>nwpasswdt</command>, <command>nwsfindt</command>,
<command>pqlistt</command>, <command>pqrmt</command>, <command>
pqstatt</command> and <command>slist</command>.</para></listitem>
<listitem><para><emphasis>Server Admin Utilities:</emphasis>
<command>ncopyt</command>, <command>nwbocreatet</command>,
<command>nwbolst</command>, <command>nwbopropst</command>,
<command>nwbormt</command>, <command>nwbpaddt</command>,
<command>nwbpcreatet</command>, <command>nwbprmt</command>,
<command>nwbpsett</command>, <command>nwbpvaluest</command>,
<command>nwdirt</command>, <command>nwdpvaluest</command>,
<command>nwfsctrlt</command>, <command>nwfsinfot</command>,
<command>nwfstimet</command>, <command>nwgrantt</command>,
<command>nwpurget</command>, <command>nwrevoket</command>,
<command>nwrightst</command>, <command>nwtrusteet</command>,
<command>nwtrustee2t</command>, <command>nwuserlistt</command>,
and <command>nwvolinfo</command>.</para></listitem>
<listitem><para><emphasis><acronym>IPX</acronym> Interface Utilities:</emphasis>
<command>ipx_cmdt</command>, <command>ipx_configuret</command>,
<command>ipx_interfacet</command>, <command>ipx_internal_nett</command>
and <command>ipx_route</command>.</para></listitem>
<listitem><para><emphasis>Other Utilities:</emphasis>
<command>ncpmap</command> and <command>nwauth</command>.</para></listitem>
</itemizedlist>
</sect2>
</sect1>