[blfs-book] r11993 - in trunk/BOOK: . introduction/welcome networking/netprogs postlfs/security

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Fri Oct 18 00:27:44 PDT 2013


Author: igor
Date: Fri Oct 18 00:27:43 2013
New Revision: 11993

Log:
update to samba-4.1.0

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/networking/netprogs/samba.xml
   trunk/BOOK/postlfs/security/stunnel.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Thu Oct 17 10:30:07 2013	(r11992)
+++ trunk/BOOK/general.ent	Fri Oct 18 00:27:43 2013	(r11993)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "17">                   <!-- Always 2 digits -->
+<!ENTITY day          "18">                   <!-- Always 2 digits -->
 <!ENTITY month        "10">                   <!-- Always 2 digits -->
 <!ENTITY year         "2013">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "October 17th, &year;">
+<!ENTITY releasedate  "October 18th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|testing|unstable|development] -->
@@ -449,7 +449,7 @@
 <!ENTITY ntp-version                  "4.2.6p5">
 <!ENTITY rpcbind-version              "0.2.1">
 <!ENTITY rsync-version                "3.1.0">
-<!ENTITY samba-version                "4.0.10">
+<!ENTITY samba-version                "4.1.0">
 <!ENTITY wget-version                 "1.14">
 <!ENTITY wireless-tools-version       "29">
 <!ENTITY wpa_supplicant-version       "2.0">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Thu Oct 17 10:30:07 2013	(r11992)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Fri Oct 18 00:27:43 2013	(r11993)
@@ -44,6 +44,16 @@
 
 -->
     <listitem>
+      <para>October 18th, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[igor] - Update to samba-4.1.0. Fixes
+          <ulink url="&blfs-ticket-root;4176">#4176</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 17th, 2013</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/networking/netprogs/samba.xml
==============================================================================
--- trunk/BOOK/networking/netprogs/samba.xml	Thu Oct 17 10:30:07 2013	(r11992)
+++ trunk/BOOK/networking/netprogs/samba.xml	Fri Oct 18 00:27:43 2013	(r11993)
@@ -6,10 +6,10 @@
 
   <!ENTITY samba-download-http "http://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
   <!ENTITY samba-download-ftp  "ftp://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
-  <!ENTITY samba-md5sum        "220740f75035b2221e3b9a848e19d1ea">
-  <!ENTITY samba-size          "22 MB">
-  <!ENTITY samba-buildsize     "475 MB (up to 900MB additional for all tests)">
-  <!ENTITY samba-time          "7.5 SBU (up to 110 SBU to run all tests)">
+  <!ENTITY samba-md5sum        "f448d18ae678c72afb72e0510cd69710">
+  <!ENTITY samba-size          "23 MB">
+  <!ENTITY samba-buildsize     "493 MB (up to 900MB additional for all tests)">
+  <!ENTITY samba-time          "6.6 SBU (up to 110 SBU to run all tests)">
 ]>
 
 <sect1 id="samba" xreflabel="Samba-&samba-version;">
@@ -145,28 +145,13 @@
 install -v -m644    examples/LDAP/samba*              \
                     /etc/openldap/schema              &&
                     
-install -v -m755    examples/LDAP/{convert*,get*,ol*} \
+install -v -m755    examples/LDAP/{get*,ol*} \
                     /etc/openldap/schema              &&
 
 install -v -m755 -d /usr/share/doc/samba-&samba-version; &&
 
 install -v -m644    lib/ntdb/doc/design.pdf \
-                    /usr/share/doc/samba-&samba-version; &&
-
-ln -v -s ../../samba/swat  /usr/share/doc/samba-&samba-version;</userinput></screen>
-
-  <para>To create the html documents needed for <command>swat</command> 
-  (<xref linkend='libxslt'/> required), do the following:</para>
-
-<screen><userinput>cd docs-xml &&
-autoreconf  &&
-./configure &&
-make htmlman</userinput></screen>
-
-    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
-
-<screen role="root"><userinput>mkdir -pv                          /usr/share/samba/swat/help/manpages &&
-cp output/htmldocs/manpages/*.html /usr/share/samba/swat/help/manpages</userinput></screen>
+                    /usr/share/doc/samba-&samba-version;</userinput></screen>
 
   </sect2>
 
@@ -372,8 +357,7 @@
         bootscript. Be sure to run <command>smbpasswd</command> (with the
         <option>-a</option> option to add users) to enable and
         set passwords for all accounts that need
-        <application>Samba</application> access, or use the SWAT web interface
-        (see below) to do the same. Using the default
+        <application>Samba</application> access. Using the default
         <application>Samba</application> passdb backend, any user you attempt
         to add will also be required to exist in the
         <filename>/etc/passwd</filename> file.</para>
@@ -410,10 +394,6 @@
             <ulink url="http://www.samba.org/samba/docs/man/Samba-Guide/"/>
             </para>
           </listitem>
-          <listitem>
-            <para>The Samba-3 man Pages
-            <ulink url="file:///usr/share/samba/swat/help/manpages/samba.7.html"/></para>
-          </listitem>
         </itemizedlist>
 
       </sect4>
@@ -467,124 +447,6 @@
 
     </sect3>
 
-    <sect3 id="samba-swat-config">
-      <title>Configuring SWAT</title>
-
-      <para>The SWAT (<application>Samba</application> Web Administration Tool)
-      utility can be used for configuration of the
-      <application>Samba</application> installation.</para>
-
-      <indexterm zone="samba samba-swat-config">
-        <primary sortas="g-configuring-SWAT">Configuring SWAT</primary>
-      </indexterm>
-
-      <sect4>
-        <title>Setting up SWAT using xinetd</title>
-
-        <indexterm zone="samba samba-swat-config">
-          <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
-        </indexterm>
-
-        <para>If not already done, add an entry to <filename>/etc/services</filename> file
-        as the <systemitem class="username">root</systemitem> user:</para>
-
-<screen role="root"><userinput>echo "swat            905/tcp" >> /etc/services</userinput></screen>
-
-        <para>Create the <application>Samba</application> <xref
-        linkend='xinetd'/> file as <filename>/etc/xinetd.d/swat</filename>.</para>
-
-        <warning>
-          <para>You may modify or remove the <quote>only_from</quote> line
-          below to include other host(s).  BLFS does not recommend doing this
-          because of the security risk involved. However, in a home network
-          environment, disclosure of the <systemitem
-          class='username'>root</systemitem> password may be an acceptable
-          risk.</para>
-        </warning>
-
-<screen role="root"><userinput>cat >> /etc/xinetd.d/swat << "EOF"
-<literal># Begin /etc/xinetd.d/swat
-
-service swat
-{
-    port            = 905
-    socket_type     = stream
-    wait            = no
-    instances       = 5
-    only_from       = 127.0.0.1
-    user            = root
-    server          = /usr/sbin/swat
-    log_on_failure += USERID
-}
-
-# End /etc/xinetd.d/swat</literal>
-EOF</userinput></screen>
-
-        <para>Issue a <command>killall -HUP xinetd</command> to read the new
-        <filename>/etc/xinetd.d/swat</filename> file.</para>
-
-        <note>
-          <para>If you linked <application>Linux-PAM</application> into the
-          <application>Samba</application> build, you'll need to create an
-          <filename>/etc/pam.d/samba</filename> file.</para>
-        </note>
-
-        <para>SWAT can now be launched by pointing your web browser to
-        http://localhost:905.</para>
-
-      </sect4>
-
-      <sect4>
-        <title>Setting up SWAT using stunnel</title>
-
-        <para>A better way to set up SWAT for network access is through
-        <xref linkend='stunnel'/>.  For convenience, a boot scripts has
-        been provided for SWAT via stunnel.  First, create the stunnel
-        configuration file:</para>
-
-        <indexterm zone="samba samba-swat-config">
-          <primary sortas="e-etc-stunnel-swat.conf">/etc/stunnel/swat.conf</primary>
-        </indexterm>
-
-<screen role="root"><userinput>cat >> /etc/stunnel/swat.conf << "EOF"
-<literal>; File: /etc/stunnel/swat.conf
-
-pid    = /run/stunnel-swat.pid
-setuid = root
-setgid = root
-cert   = /etc/stunnel/stunnel.pem
-
-[swat]
-accept = swat
-exec   = /usr/sbin/swat
-</literal>
-EOF</userinput></screen>
-
-        <para>Next, install the swat bootscript:</para>
-
-<screen role="root"><userinput>make install-swat</userinput></screen>
-
-        <para>After starting the SWAT boot script the tool can be accessed by
-        pointing your web browser to https://localhost:905.  Note:
-        <emphasis>https</emphasis>.  If access to the tool needs to be
-        further restricted, then <xref linkend='iptables'/> can be
-        used.</para>
-
-      </sect4>
-
-    </sect3>
-
-    <sect3>
-      <title/>
-
-
-      <indexterm zone="samba samba-swat-config">
-        <primary sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
-      </indexterm>
-
-    </sect3>
-
-
   </sect2>
 
   <sect2 role="content">
@@ -597,24 +459,31 @@
 
       <seglistitem>
 
-        <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel,
-        ldbedit, ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump,
-        net, nmbd, nmblookup, nmblookup4, ntlm_auth, oLschema2ldif, pdbedit,
-        pidl, profiles, regdiff, regpatch, regshell, regtree, rpcclient, samba,
-        samba_dnsupdate samba_kcc, samba_spnupdate, samba-tool,
-        samba_upgradedns, sharesec, smbcacls, smbclient, smbclient4,
-        smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool, smbstatus,
-        smbta-util, smbtar, smbtree, smbtorture, swat, testparm, tdbbackup,
-        tdbdump, tdbrestore, and tdbtool, winbindd, and wbinfo</seg>
-
-        <seg>libnss_winbind.so, libnss_wins.so, libnetapi.so, libsmbclient.so,
-        libsmbsharemodes.so, libwbclient.so, the pam_winbind.so
-        and pam_smbpass.so PAM libraries, and assorted character set,
-        filesystem and support modules.</seg>
+        <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel, ldbedit,
+        ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump, net, nmbd,
+        nmblookup, nmblookup4, ntdbbackup, ntdbdump, ntdbrestore, ntdbtool,
+        ntlm_auth, oLschema2ldif, pdbedit, pidl, profiles, regdiff, regpatch,
+        regshell, regtree, rpcclient, samba, samba_dnsupdate, samba_kcc,
+        samba-regedit, samba_spnupdate, samba-tool, samba_upgradedns, sharesec,
+        smbcacls, smbclient, smbclient4, smbcontrol, smbcquotas, smbd, smbget,
+        smbpasswd, smbspool, smbstatus, smbtar, smbta-util, smbtorture, smbtree,
+        tdbbackup, tdbdump, tdbrestore, tdbtool, testparm, wbinfo, and
+        winbindd</seg>
+
+        <seg>libdcerpc-atsvc.so, libdcerpc-binding.so, libdcerpc-samr.so,
+        libdcerpc-server.so, libdcerpc.so, libgensec.so, libndr-krb5pac.so,
+        libndr-nbt.so, libndr.so, libndr-standard.so, libnetapi.so,
+        libnss_winbind.so, libnss_wins.so, libpdb.so, libregistry.so,
+        libsamba-credentials.so, libsamba-hostconfig.so, libsamba-policy.so,
+        libsamba-util.so, libsamdb.so, libsmbclient-raw.so, libsmbclient.so,
+        libsmbconf.so, libsmbldap.so, libsmbsharemodes.so, libtevent-util.so,
+        libtorture.so, libwbclient.so, mit_samba.so, the pam_winbind.so and
+        pam_smbpass.so PAM libraries, winbind_krb5_locator.so, and assorted
+        character set, filesystem and support modules.</seg>
         
         <seg>/etc/samba, /usr/include/samba-4.0, /usr/lib/samba,
-        /usr/share/samba, /var/cache/samba, /var/lib/samba,
-        /var/log/samba, /var/lock/samba, and /var/run/samba</seg>
+        /usr/share/samba, /var/cache/samba, /var/lib/samba, /var/lock/samba,
+        /var/log/samba, and /var/run/samba</seg>
 
       </seglistitem>
     </segmentedlist>
@@ -905,17 +774,6 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
-      <varlistentry id="swat">
-        <term><command>swat</command></term>
-        <listitem>
-          <para>is the <application>Samba</application> Web Administration
-          Tool.</para>
-          <indexterm zone="samba swat">
-            <primary sortas="b-swat">swat</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
 
       <varlistentry id="tdbbackup">
         <term><command>tdbbackup</command></term>

Modified: trunk/BOOK/postlfs/security/stunnel.xml
==============================================================================
--- trunk/BOOK/postlfs/security/stunnel.xml	Thu Oct 17 10:30:07 2013	(r11992)
+++ trunk/BOOK/postlfs/security/stunnel.xml	Fri Oct 18 00:27:43 2013	(r11993)
@@ -218,10 +218,7 @@
       as well.</para>
 
       <para>For a full explanation of the commands and syntax used in the
-      configuration file, run <command>man stunnel</command>. To see a
-      BLFS example of an actual setup of an <command>stunnel</command> encrypted
-      service, read the <xref linkend="samba-swat-config"/> in the
-      <application>Samba</application> instructions.</para>
+      configuration file, run <command>man stunnel</command>.</para>
 
     </sect3>
 



More information about the blfs-book mailing list