Author: randy
Date: 2010-03-28 09:15:31 -0600 (Sun, 28 Mar 2010)
New Revision: 8357
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/server/major/samba3.xml
Log:
Updated to Samba-3.5.1
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2010-03-25 16:00:13 UTC (rev 8356)
+++ trunk/BOOK/general.ent 2010-03-28 15:15:31 UTC (rev 8357)
@@ -3,7 +3,7 @@
$Date$
-->
-<!ENTITY day "25"> <!-- Always 2 digits -->
+<!ENTITY day "28"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2010">
<!ENTITY copyrightdate "2001-&year;">
@@ -407,7 +407,7 @@
<!ENTITY openssh-version "5.3p1">
<!ENTITY portmap-version "6.0">
<!ENTITY rsync-version "3.0.7">
-<!ENTITY samba3-version "3.0.30">
+<!ENTITY samba3-version "3.5.1">
<!ENTITY subversion-version "1.5.4">
<!ENTITY tcpwrappers-version "7.6">
<!ENTITY wget-version "1.12">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2010-03-25 16:00:13 UTC
(rev 8356)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2010-03-28 15:15:31 UTC
(rev 8357)
@@ -42,6 +42,15 @@
-->
<listitem>
+ <para>March 28th, 2010</para>
+ <itemizedlist>
+ <listitem>
+ <para>[randy] - Updated to Samba-3.5.1.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>March 25th, 2010</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/server/major/samba3.xml
===================================================================
--- trunk/BOOK/server/major/samba3.xml 2010-03-25 16:00:13 UTC (rev 8356)
+++ trunk/BOOK/server/major/samba3.xml 2010-03-28 15:15:31 UTC (rev 8357)
@@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!ENTITY samba3-download-http
"http://us1.samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
- <!ENTITY samba3-download-ftp
"ftp://us5.samba.org/pub/samba-ftp/samba-&samba3-version;.tar.gz">
- <!ENTITY samba3-md5sum "d647ec1f34414fa8691f74536dcccfb5">
- <!ENTITY samba3-size "20 MB">
- <!ENTITY samba3-buildsize "238 MB">
- <!ENTITY samba3-time "2.3 SBU (additional 1.0 SBU to run the test
suite)">
+ <!ENTITY samba3-download-http
"http://samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
+ <!ENTITY samba3-download-ftp
"ftp://samba.org/pub/samba/samba-&samba3-version;.tar.gz">
+ <!ENTITY samba3-md5sum "60811195b0507fa151b602684cece743">
+ <!ENTITY samba3-size "30 MB">
+ <!ENTITY samba3-buildsize "510 MB">
+ <!ENTITY samba3-time "5 SBU (additional 1.5 SBU to run the test
suite)">
]>
<sect1 id="samba3" xreflabel="Samba-&samba3-version;">
@@ -76,12 +76,24 @@
<xref linkend="openldap"/>,
<xref linkend="gamin"/>,
<xref linkend="acl"/>,
+ <xref linkend="xfs"/>,
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
- <xref linkend="python"/> (to build Samba API bindings for the
- <application>Python</application> installation),
+ <!-- <xref linkend="python"/> (to build Samba API bindings for the
+ <application>Python</application> installation), -->
+ <ulink url="http://tdb.samba.org/">tdb</ulink>,
+ <ulink
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">libcap2</ulink>,
+ <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
+ <ulink url="http://people.redhat.com/dhowells/keyutils/">keyutils</ulink>
+ (required to build the <command>cifs.upcall</command> program),
+ <ulink url="http://www.avahi.org">Avahi</ulink>,
+ <ulink url="http://www.openafs.org/">OpenAFS</ulink>,
and <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally
used by the test suite)</para>
+ <bridgehead renderas="sect4">Optional for Samba4 Support</bridgehead>
+ <para role="optional"><xref linkend="gnutls"/> (recommended) and
+ <xref linkend="sqlite"/></para>
+
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/samba3"/></para>
@@ -104,7 +116,7 @@
<!-- <screen><userinput>for FILENAME in $(ls ../*.diff); do patch -Np1 -i
$FILENAME; done && -->
-<screen><userinput>cd source &&
+<screen><userinput>cd source3 &&
./configure \
--prefix=/usr \
@@ -113,12 +125,13 @@
--with-piddir=/var/run \
--with-pammodulesdir=/lib/security \
--with-fhs \
- --with-smbmount &&
+ --with-automount \
+ --with-cifsumount \
+ --enable-nss-wrapper \
+ --with-pthreads &&
make</userinput></screen>
- <para>You must become the <systemitem class="username">root</systemitem>
- user to run the test framework. To run the tests, issue:
- <command>make test</command>. If you have
+ <para>To test the results, issue: <command>make test</command>. If you have
<application>Linux-PAM</application> installed and built the PAM library
modules, you can perform a dlopen test by issuing:
<command>make test_pam_modules</command>.</para>
@@ -126,34 +139,33 @@
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install &&
-mv -v /usr/lib/samba/libsmbclient.so /usr/lib &&
-ln -v -sf ../libsmbclient.so /usr/lib/samba &&
-ln -v -sf libsmbclient.so /usr/lib/libsmbclient.so.0 &&
-chmod -v 644 /usr/include/lib{smbclient,msrpc}.h &&
+install -v -m755 ../nsswitch/libnss_win{s,bind}.so /lib &&
+ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
+ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &&
-install -v -m755 nsswitch/libnss_win{s,bind}.so /lib &&
-ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
-ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &&
+install -v -m644 ../examples/smb.conf.default /etc/samba &&
-install -v -m644 ../examples/smb.conf.default /etc/samba &&
-
install -v -m755 -d /usr/share/doc/samba-&samba3-version; &&
-install -v -m644 ../docs/*.pdf /usr/share/doc/samba-&samba3-version; &&
+install -v -m644 ../docs/*.pdf \
+ /usr/share/doc/samba-&samba3-version; &&
ln -v -s ../../samba/swat
/usr/share/doc/samba-&samba3-version;</userinput></screen>
- <para>If you passed the <option>--with-python</option> option to the
+ <!-- <para>If you passed the <option>-with-python</option> option to the
<command>configure</command> script, issue the following command as the
<systemitem class="username">root</systemitem> user to install the
<application>Python</application> extensions:</para>
-<screen role="root"><userinput>make python_install</userinput></screen>
+<screen role="root"><userinput>make python_install</userinput></screen> -->
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
+ <para><option>--enable-merged-build</option>: Use this parameter to build
+ the Samba4 components (GnuTLS is recommended).</para>
+
<para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
file directory to avoid the default of
<filename class="directory">/usr/etc</filename>.</para>
@@ -165,10 +177,21 @@
<para><parameter>--with-fhs</parameter>: Assigns all other file paths in
a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
- <para><parameter>--with-smbmount</parameter>: Orders the creation of an
+ <para><parameter>--with-automount</parameter>: Includes automounting
+ support.</para>
+
+ <para><parameter>--with-cifsumount</parameter>: Builds the
+ <command>umount.cifs</command> program.</para>
+
+ <para><parameter>--enable-nss-wrapper</parameter>: Builds the nss-wrapper
+ library.</para>
+
+ <para><parameter>--with-pthreads</parameter>: Adds threading
support.</para>
+
+ <!-- <para><parameter>-with-smbmount</parameter>: Orders the creation of an
extra binary for use by the <command>mount</command> command so that
mounting remote SMB (Windows) shares becomes no more complex than
- mounting remote NFS shares.</para>
+ mounting remote NFS shares.</para> -->
<para><option>--with-pam</option>: Use this parameter to link
<application>Linux-PAM</application> into the build. This
@@ -179,11 +202,11 @@
<filename class='libraryfile'>pam_winbind.so</filename>module by running
<command>man winbindd</command>.</para>
- <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
+ <!-- <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
../libsmbclient.so ...</command>: The
<filename class='libraryfile'>libsmbclient.so</filename> library is needed
by other packages. This command moves it to a location where other packages
- can find it.</para>
+ can find it.</para> -->
<para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so
/lib</command>:
The nss libraries are not installed by default. If you intend to use
@@ -222,18 +245,16 @@
<title>Mounting Shares by Unprivileged Users</title>
<para>If it is desired for unprivileged users to directly mount (and
- unmount) SMB and CIFS shares, the <command>smbmnt</command>,
- <command>smbumount</command>, <command>mount.cifs</command> and
+ unmount) CIFS shares, the <command>mount.cifs</command> and
<command>umount.cifs</command> commands must be setuid
<systemitem class='username'>root</systemitem>. Note that users can
- only mount SMB/CIFS shares on a mount point owned by that user (requires
+ only mount CIFS shares on a mount point owned by that user (requires
write access also). If desired, change these programs to setuid
<systemitem class='username'>root</systemitem> by issuing the following
command as the <systemitem class='username'>root</systemitem>
user:</para>
-<screen role="root"><userinput>chmod -v 4755 /usr/bin/smb{mnt,umount} \
- /usr/sbin/{,u}mount.cifs</userinput></screen>
+<screen role="root"><userinput>chmod -v 4755
/usr/sbin/{,u}mount.cifs</userinput></screen>
</sect3>
@@ -665,10 +686,10 @@
<!--newprogs: eventlogadm smbget-->
<seglistitem>
- <seg>eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd,
+ <seg>cifs.upcall, eventlogadm, findsmb, mount.cifs, mount.smbfs, net,
nmbd,
nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, smbcacls,
- smbclient, smbcontrol, smbcquotas, smbd, smbget, smbmnt, smbmount,
- smbpasswd, smbspool, smbstatus, smbtar, smbtree, smbumount, swat,
+ smbclient, smbcontrol, smbcquotas, smbd, smbget,
+ smbpasswd, smbspool, smbstatus, smbtar, smbtree, swat,
tdbbackup, tdbdump, tdbtool, testparm, umount.cifs, wbinfo
and winbindd</seg>
<seg>libnss_winbind.so, libnss_wins.so, libsmbclient.so, libmsrpc.so,
@@ -874,7 +895,7 @@
</listitem>
</varlistentry>
- <varlistentry id="smbmnt">
+ <!-- <varlistentry id="smbmnt">
<term><command>smbmnt</command></term>
<listitem>
<para>is a helper application used by the
@@ -899,7 +920,7 @@
<primary sortas="b-smbmount">smbmount</primary>
</indexterm>
</listitem>
- </varlistentry>
+ </varlistentry> -->
<varlistentry id="smbpasswd">
<term><command>smbpasswd</command></term>
@@ -954,7 +975,7 @@
</listitem>
</varlistentry>
- <varlistentry id="smbumount">
+ <!-- <varlistentry id="smbumount">
<term><command>smbumount</command></term>
<listitem>
<para>is used by unprivileged users to unmount SMB filesystems,
@@ -963,7 +984,7 @@
<primary sortas="b-smbumount">smbumount</primary>
</indexterm>
</listitem>
- </varlistentry>
+ </varlistentry> -->
<varlistentry id="swat">
<term><command>swat</command></term>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page