glfs/server/other/samba3/samba3-exp.xml
Igor Živković 2ce613f92e more samba cleanup from DJ
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2172 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-17 08:59:51 +00:00

42 lines
1.9 KiB
XML

<sect2>
<title>Installation command explanations</title>
<para><command>install -d /var/cache/samba</command>: This directory is
needed for proper operation of the <command>smbd</command> and
<command>nmbd</command> daemons.</para>
<para><parameter>--prefix=/usr</parameter>: Sets the prefix for almost
all the file paths to <filename class="directory">/usr</filename>.</para>
<para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
file directory to avoid the default of <filename class="directory">/usr/etc</filename>.</para>
<para><parameter>--localstatedir=/var</parameter>: Sets the variable
data directory to avoid the default of <filename class="directory">/usr/var</filename>.</para>
<para><option>--with-fhs</option>: Assigns all other file paths in a manner
compliant with the Filesystem Hierarchy Standard
(<acronym>FHS</acronym>).</para>
<para><option>--with-smbmount</option>: Orders the creation of an extra
binary for use by the <command>mount</command> command so that mounting remote
<acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
remote <acronym>NFS</acronym> shares.</para>
<para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
The nss libs are not installed by default. If you intend to use
winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
you need these libraries.</para>
<para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
These symlinks are required by glibc to use the nss libs.</para>
<para><command>cp ../examples/smb.conf.default /etc/samba</command>:
This copies a default <filename>smb.conf </filename>into
<filename>/etc/samba</filename>. This sample configuration will not
work unless edited for your site, and renamed
<filename>smb.conf</filename>.</para>
</sect2>