[736ede9] | 1 | <sect2>
|
---|
| 2 | <title>Installation command explanations</title>
|
---|
| 3 |
|
---|
[8cfd1f9] | 4 | <para><command>install -d /var/cache/samba</command>: This directory is
|
---|
[736ede9] | 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
|
---|
[2ce613f] | 20 | <acronym>SMB</acronym> (Windows) shares becomes no more complex than mounting
|
---|
[736ede9] | 21 | remote <acronym>NFS</acronym> shares.</para>
|
---|
| 22 |
|
---|
[8cfd1f9] | 23 | <para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
|
---|
[65df9fca] | 24 | The nss libraries are not installed by default. If you intend to use
|
---|
[736ede9] | 25 | winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution,
|
---|
[2ce613f] | 26 | you need these libraries.</para>
|
---|
[736ede9] | 27 |
|
---|
[8cfd1f9] | 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>:
|
---|
[65df9fca] | 30 | These symlinks are required by glibc to use the nss libraries.</para>
|
---|
[736ede9] | 31 |
|
---|
[2ce613f] | 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 |
|
---|
[736ede9] | 38 | </sect2>
|
---|