glfs/server/other/samba3/samba3-inst.xml
Igor Živković bb0d842be5 moved samba maintainer patch to samba3, reported by Manuel
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2231 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-29 07:46:10 +00:00

29 lines
982 B
XML

<sect2>
<title>Installation of <application>Samba</application></title>
<para>Install <application>Samba</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i samba-3.0.4-maintainer.patch &amp;&amp;
cd source &amp;&amp;
install -d /var/cache/samba &amp;&amp;
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-piddir=/var/run \
--with-fhs \
--with-smbmount &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
install -m755 nsswitch/libnss_win{s,bind}.so /lib &amp;&amp;
ln -sf libnss_winbind.so /lib/libnss_winbind.so.2 &amp;&amp;
ln -sf libnss_wins.so /lib/libnss_wins.so.2 &amp;&amp;
cp ../examples/smb.conf.default /etc/samba</command></userinput></screen>
<note><para>You may want to run <command>configure</command> with the
<parameter>--help</parameter> parameter. There may be other parameters
needed to take advantage of the optional dependencies.</para></note>
</sect2>