Author: randy
Date: 2006-12-08 05:54:42 -0700 (Fri, 08 Dec 2006)
New Revision: 6368
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/server/major/samba3.xml
Log:
Updated to Samba-3.0.23d
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2006-12-07 11:25:09 UTC (rev 6367)
+++ trunk/BOOK/general.ent 2006-12-08 12:54:42 UTC (rev 6368)
@@ -1,4 +1,4 @@
-<!ENTITY day "07"> <!-- Always 2 digits -->
+<!ENTITY day "08"> <!-- Always 2 digits -->
<!ENTITY month "12"> <!-- Always 2 digits -->
<!ENTITY year "2006">
<!ENTITY version "svn-&year;&month;&day;">
@@ -294,7 +294,7 @@
<!ENTITY openssh-version "4.3p2">
<!ENTITY portmap-version "5beta">
<!ENTITY rsync-version "2.6.8">
-<!ENTITY samba3-version "3.0.22">
+<!ENTITY samba3-version "3.0.23d">
<!ENTITY subversion-version "1.3.1">
<!ENTITY tcpwrappers-version "7.6">
<!ENTITY wget-version "1.10.2">
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2006-12-07 11:25:09 UTC
(rev 6367)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2006-12-08 12:54:42 UTC
(rev 6368)
@@ -42,6 +42,15 @@
-->
<listitem>
+ <para>December 8th, 2006</para>
+ <itemizedlist>
+ <listitem>
+ <para>[randy] - Updated to Samba-3.0.23d.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>December 7th, 2006</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/server/major/samba3.xml
===================================================================
--- trunk/BOOK/server/major/samba3.xml 2006-12-07 11:25:09 UTC (rev 6367)
+++ trunk/BOOK/server/major/samba3.xml 2006-12-08 12:54:42 UTC (rev 6368)
@@ -5,11 +5,11 @@
%general-entities;
<!ENTITY samba3-download-http
"http://us1.samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
- <!ENTITY samba3-download-ftp
"ftp://ftp.samba.org/pub/samba/samba-&samba3-version;.tar.gz">
- <!ENTITY samba3-md5sum "5c39505af17cf5caf3d6ed8bab135036">
- <!ENTITY samba3-size "17.5 MB">
- <!ENTITY samba3-buildsize "199 MB">
- <!ENTITY samba3-time "2.8 SBU">
+ <!ENTITY samba3-download-ftp
"ftp://us5.samba.org/pub/samba-ftp/samba-&samba3-version;.tar.gz">
+ <!ENTITY samba3-md5sum "afe6923d05fed5b5ccab593c7a407cd1">
+ <!ENTITY samba3-size "17.7 MB">
+ <!ENTITY samba3-buildsize "257 MB">
+ <!ENTITY samba3-time "2.8 SBU (additional 1.8 SBU to run the test
suite)">
]>
<sect1 id="samba3" xreflabel="Samba-&samba3-version;">
@@ -75,23 +75,24 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="popt"/>,
<xref linkend="linux-pam"/>,
+ <xref linkend="cups"/>,
<xref linkend="openldap"/>,
- <xref linkend="cups"/>,
+ <xref linkend="gamin"/>,
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
<xref linkend="python"/> (to build Samba API bindings for the
- <application>Python</application> installation) and
+ <application>Python</application> installation),
<ulink url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libacl</ulink>
- (requires <ulink
url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>)</para>
+ (requires <ulink
url="ftp://oss.sgi.com/projects/xfs/cmd_tars/">libattr</ulink>),
+ and <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (optionally
+ used by the test suite)</para>
- <!-- only used for the test suite which is not really functional
- and
- <ulink url="http://valgrind.kde.org/">Valgrind</ulink></para> -->
-
+ <!-- Removed starting in version 3.0.23
<bridgehead renderas="sect4">Optional
- (To Build Experimental passdb Libraries</bridgehead>
+ (To Build Experimental passdb Libraries)</bridgehead>
<para><xref linkend="libxml2"/>,
- <xref linkend="mysql"/>,
+ <xref linkend="mysql"/>, and
<xref linkend="postgresql"/></para>
+ -->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/samba3"/></para>
@@ -116,9 +117,12 @@
commands:</para>
<note>
- <para>You may want to run <command>configure</command> with the
- <option>--help</option> parameter. There may be other parameters
- needed to take advantage of the optional dependencies.</para>
+ <para>If you wish to run the test suite after the binaries are built,
+ you must add the <option>--enable-socket-wrapper</option> parameter to
+ the <command>configure</command> script below. You may want to run
+ <command>configure</command> with the <option>--help</option> parameter
+ first. There may be other parameters needed to take advantage of
+ optional dependencies.</para>
</note>
<screen><userinput>cd source &&
@@ -131,7 +135,12 @@
--with-smbmount &&
make</userinput></screen>
- <para>This package does not come with a functional test suite.</para>
+ <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
+ <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>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
@@ -140,6 +149,10 @@
tree also turns up nothing about 'cache/samba'. -Randy
<screen role="root"><userinput>install -v -m755 -d /var/cache/samba &&
-->
+<!-- if [ -f nsswitch/pam_winbind.so ]; then
+ install -v -m755 nsswitch/pam_winbind.so /lib/security
+ fi &&
+-->
<screen role="root"><userinput>make install &&
mv -v /usr/lib/samba/libsmbclient.so /usr/lib &&
@@ -152,10 +165,6 @@
ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &&
ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &&
-if [ -f nsswitch/pam_winbind.so ]; then
- install -v -m755 nsswitch/pam_winbind.so /lib/security
-fi &&
-
install -v -m644 ../examples/smb.conf.default /etc/samba &&
install -v -m755 -d /usr/share/doc/samba-&samba3-version; &&
@@ -193,8 +202,10 @@
<para><option>--with-pam</option>: Use this parameter to link
<application>Linux-PAM</application> into the build. This
also builds the <filename class='libraryfile'>pam_winbind.so</filename>
- <application>PAM</application> module. You can find
- instructions on how to configure and use the module by running
+ and <filename class='libraryfile'>pam_smbpass.so</filename>
+ <application>PAM</application> modules. You can find
+ instructions on how to configure and use the
+ <filename class='libraryfile'>pam_winbind.so</filename>module by running
<command>man winbindd</command>.</para>
<!-- I am convinced that this command is no longer necessary. -Randy
@@ -246,16 +257,18 @@
<title>Mounting Shares by Unprivileged Users</title>
<para>If it is desired for unprivileged users to directly mount (and
- unmount) SMB shares, the <command>smbmnt</command> and
- <command>smbumount</command> commands must be setuid
+ unmount) SMB and CIFS shares, the <command>smbmnt</command>,
+ <command>smbumount</command>, <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 shares on a mount point owned by that user (requires
+ only mount SMB/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}</userinput></screen>
+<screen role="root"><userinput>chmod -v 4755 /usr/bin/smb{mnt,umount}
+ /usr/sbin/{,u}mount.cifs</userinput></screen>
</sect3>
@@ -687,14 +700,15 @@
<!--newprogs: eventlogadm smbget-->
<seglistitem>
- <seg>eventlogadm, findsmb, 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, tdbbackup,
- tdbdump, tdbtool, testparm, testprns, wbinfo, and winbindd</seg>
+ <seg>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,
+ tdbbackup, tdbdump, tdbtool, testparm, unmount.cifs, wbinfo
+ and winbindd</seg>
<seg>libnss_winbind.so, libnss_wins.so, libsmbclient.so, libmsrpc.so,
- the pam_winbind.so PAM library and assorted character set, filesystem
- and support modules.</seg>
+ the pam_winbind.so and pam_smbpass.so PAM libraries, and assorted
+ character set, filesystem and support modules.</seg>
<seg>/etc/samba, /usr/lib/python2.4/site-packages/samba,
/usr/lib/samba, /usr/share/doc/samba-&samba3-version;,
/usr/share/samba, /var/lib/samba and /var/log/samba</seg>
@@ -729,6 +743,18 @@
</listitem>
</varlistentry>
+ <varlistentry id="mount.cifs">
+ <term><command>mount.cifs</command></term>
+ <listitem>
+ <para>mounts a Linux CIFS filesystem. It is usually invoked
+ indirectly by the <command>mount</command> command when using the
+ <option>-t cifs</option> option.</para>
+ <indexterm zone="samba3 mount.cifs">
+ <primary sortas="b-mount.cifs">mount.cifs</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="mount.smbfs">
<term><command>mount.smbfs</command></term>
<listitem>
@@ -1031,12 +1057,15 @@
</listitem>
</varlistentry>
- <varlistentry id="testprns">
- <term><command>testprns</command></term>
+ <varlistentry id="umount.cifs">
+ <term><command>umount.cifs</command></term>
<listitem>
- <para>tests printer names.</para>
- <indexterm zone="samba3 testprns">
- <primary sortas="b-testprns">testprns</primary>
+ <para>is used by normal, non-<systemitem
+ class="username">root</systemitem> users, to
+ <command>unmount</command> their own Common Internet File System
+ (CIFS) mounts.</para>
+ <indexterm zone="samba3 umount.cifs">
+ <primary sortas="b-umount.cifs">umount.cifs</primary>
</indexterm>
</listitem>
</varlistentry>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page