1 | <sect2>
|
---|
2 | <title>Installation command explanations</title>
|
---|
3 |
|
---|
4 | <para><command>install -d /var/cache/samba</command>: This directory is
|
---|
5 | needed for proper operation of the <command>smbd</command> and
|
---|
6 | <command>nmbd</command> daemons.</para>
|
---|
7 |
|
---|
8 | <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
|
---|
9 | file directory to avoid the default of <filename class="directory">/usr/etc</filename>.</para>
|
---|
10 |
|
---|
11 | <para><parameter>--localstatedir=/var</parameter>: Sets the variable
|
---|
12 | data directory to avoid the default of <filename class="directory">/usr/var</filename>.</para>
|
---|
13 |
|
---|
14 | <para><option>--with-fhs</option>: Assigns all other file paths in a manner
|
---|
15 | compliant with the Filesystem Hierarchy Standard
|
---|
16 | (<acronym>FHS</acronym>).</para>
|
---|
17 |
|
---|
18 | <para><option>--with-smbmount</option>: Orders the creation of an extra
|
---|
19 | binary for use by the <command>mount</command> command so that mounting remote
|
---|
20 | <acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
|
---|
21 | remote <acronym>NFS</acronym> shares.</para>
|
---|
22 |
|
---|
23 | <para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
---|
24 | The nss libraries are not installed by default. If you intend to use
|
---|
25 | winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
|
---|
26 | you need these libraries.</para>
|
---|
27 |
|
---|
28 | <para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
|
---|
29 | and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
|
---|
30 | These symlinks are required by glibc to use the nss libraries.</para>
|
---|
31 |
|
---|
32 | <para><command>cp ../examples/smb.conf.default /etc/samba</command>:
|
---|
33 | This copies a default <filename>smb.conf </filename>into
|
---|
34 | <filename>/etc/samba</filename>. This sample configuration will not
|
---|
35 | work unless edited for your site, and renamed
|
---|
36 | <filename>smb.conf</filename>.</para>
|
---|
37 |
|
---|
38 | </sect2>
|
---|