Changeset 96770a19


Ignore:
Timestamp:
10/18/2013 07:27:43 AM (11 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
cddd48eb
Parents:
cc0ac6c
Message:

update to samba-4.1.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11993 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rcc0ac6c r96770a19  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "17">                   <!-- Always 2 digits -->
     3<!ENTITY day          "18">                   <!-- Always 2 digits -->
    44<!ENTITY month        "10">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2013">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "October 17th, &year;">
     9<!ENTITY releasedate  "October 18th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
     
    450450<!ENTITY rpcbind-version              "0.2.1">
    451451<!ENTITY rsync-version                "3.1.0">
    452 <!ENTITY samba-version                "4.0.10">
     452<!ENTITY samba-version                "4.1.0">
    453453<!ENTITY wget-version                 "1.14">
    454454<!ENTITY wireless-tools-version       "29">
  • introduction/welcome/changelog.xml

    rcc0ac6c r96770a19  
    4545-->
    4646    <listitem>
     47      <para>October 18th, 2013</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[igor] - Update to samba-4.1.0. Fixes
     51          <ulink url="&blfs-ticket-root;4176">#4176</ulink>.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4757      <para>October 17th, 2013</para>
    4858      <itemizedlist>
  • networking/netprogs/samba.xml

    rcc0ac6c r96770a19  
    77  <!ENTITY samba-download-http "http://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
    88  <!ENTITY samba-download-ftp  "ftp://ftp.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
    9   <!ENTITY samba-md5sum        "220740f75035b2221e3b9a848e19d1ea">
    10   <!ENTITY samba-size          "22 MB">
    11   <!ENTITY samba-buildsize     "475 MB (up to 900MB additional for all tests)">
    12   <!ENTITY samba-time          "7.5 SBU (up to 110 SBU to run all tests)">
     9  <!ENTITY samba-md5sum        "f448d18ae678c72afb72e0510cd69710">
     10  <!ENTITY samba-size          "23 MB">
     11  <!ENTITY samba-buildsize     "493 MB (up to 900MB additional for all tests)">
     12  <!ENTITY samba-time          "6.6 SBU (up to 110 SBU to run all tests)">
    1313]>
    1414
     
    146146                    /etc/openldap/schema              &amp;&amp;
    147147                   
    148 install -v -m755    examples/LDAP/{convert*,get*,ol*} \
     148install -v -m755    examples/LDAP/{get*,ol*} \
    149149                    /etc/openldap/schema              &amp;&amp;
    150150
     
    152152
    153153install -v -m644    lib/ntdb/doc/design.pdf \
    154                     /usr/share/doc/samba-&samba-version; &amp;&amp;
    155 
    156 ln -v -s ../../samba/swat  /usr/share/doc/samba-&samba-version;</userinput></screen>
    157 
    158   <para>To create the html documents needed for <command>swat</command>
    159   (<xref linkend='libxslt'/> required), do the following:</para>
    160 
    161 <screen><userinput>cd docs-xml &amp;&amp;
    162 autoreconf  &amp;&amp;
    163 ./configure &amp;&amp;
    164 make htmlman</userinput></screen>
    165 
    166     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    167 
    168 <screen role="root"><userinput>mkdir -pv                          /usr/share/samba/swat/help/manpages &amp;&amp;
    169 cp output/htmldocs/manpages/*.html /usr/share/samba/swat/help/manpages</userinput></screen>
     154                    /usr/share/doc/samba-&samba-version;</userinput></screen>
    170155
    171156  </sect2>
     
    373358        <option>-a</option> option to add users) to enable and
    374359        set passwords for all accounts that need
    375         <application>Samba</application> access, or use the SWAT web interface
    376         (see below) to do the same. Using the default
     360        <application>Samba</application> access. Using the default
    377361        <application>Samba</application> passdb backend, any user you attempt
    378362        to add will also be required to exist in the
     
    411395            </para>
    412396          </listitem>
    413           <listitem>
    414             <para>The Samba-3 man Pages
    415             <ulink url="file:///usr/share/samba/swat/help/manpages/samba.7.html"/></para>
    416           </listitem>
    417397        </itemizedlist>
    418398
     
    468448    </sect3>
    469449
    470     <sect3 id="samba-swat-config">
    471       <title>Configuring SWAT</title>
    472 
    473       <para>The SWAT (<application>Samba</application> Web Administration Tool)
    474       utility can be used for configuration of the
    475       <application>Samba</application> installation.</para>
    476 
    477       <indexterm zone="samba samba-swat-config">
    478         <primary sortas="g-configuring-SWAT">Configuring SWAT</primary>
    479       </indexterm>
    480 
    481       <sect4>
    482         <title>Setting up SWAT using xinetd</title>
    483 
    484         <indexterm zone="samba samba-swat-config">
    485           <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
    486         </indexterm>
    487 
    488         <para>If not already done, add an entry to <filename>/etc/services</filename> file
    489         as the <systemitem class="username">root</systemitem> user:</para>
    490 
    491 <screen role="root"><userinput>echo "swat            905/tcp" &gt;&gt; /etc/services</userinput></screen>
    492 
    493         <para>Create the <application>Samba</application> <xref
    494         linkend='xinetd'/> file as <filename>/etc/xinetd.d/swat</filename>.</para>
    495 
    496         <warning>
    497           <para>You may modify or remove the <quote>only_from</quote> line
    498           below to include other host(s).  BLFS does not recommend doing this
    499           because of the security risk involved. However, in a home network
    500           environment, disclosure of the <systemitem
    501           class='username'>root</systemitem> password may be an acceptable
    502           risk.</para>
    503         </warning>
    504 
    505 <screen role="root"><userinput>cat &gt;&gt; /etc/xinetd.d/swat &lt;&lt; "EOF"
    506 <literal># Begin /etc/xinetd.d/swat
    507 
    508 service swat
    509 {
    510     port            = 905
    511     socket_type     = stream
    512     wait            = no
    513     instances       = 5
    514     only_from       = 127.0.0.1
    515     user            = root
    516     server          = /usr/sbin/swat
    517     log_on_failure += USERID
    518 }
    519 
    520 # End /etc/xinetd.d/swat</literal>
    521 EOF</userinput></screen>
    522 
    523         <para>Issue a <command>killall -HUP xinetd</command> to read the new
    524         <filename>/etc/xinetd.d/swat</filename> file.</para>
    525 
    526         <note>
    527           <para>If you linked <application>Linux-PAM</application> into the
    528           <application>Samba</application> build, you'll need to create an
    529           <filename>/etc/pam.d/samba</filename> file.</para>
    530         </note>
    531 
    532         <para>SWAT can now be launched by pointing your web browser to
    533         http://localhost:905.</para>
    534 
    535       </sect4>
    536 
    537       <sect4>
    538         <title>Setting up SWAT using stunnel</title>
    539 
    540         <para>A better way to set up SWAT for network access is through
    541         <xref linkend='stunnel'/>.  For convenience, a boot scripts has
    542         been provided for SWAT via stunnel.  First, create the stunnel
    543         configuration file:</para>
    544 
    545         <indexterm zone="samba samba-swat-config">
    546           <primary sortas="e-etc-stunnel-swat.conf">/etc/stunnel/swat.conf</primary>
    547         </indexterm>
    548 
    549 <screen role="root"><userinput>cat &gt;&gt; /etc/stunnel/swat.conf &lt;&lt; "EOF"
    550 <literal>; File: /etc/stunnel/swat.conf
    551 
    552 pid    = /run/stunnel-swat.pid
    553 setuid = root
    554 setgid = root
    555 cert   = /etc/stunnel/stunnel.pem
    556 
    557 [swat]
    558 accept = swat
    559 exec   = /usr/sbin/swat
    560 </literal>
    561 EOF</userinput></screen>
    562 
    563         <para>Next, install the swat bootscript:</para>
    564 
    565 <screen role="root"><userinput>make install-swat</userinput></screen>
    566 
    567         <para>After starting the SWAT boot script the tool can be accessed by
    568         pointing your web browser to https://localhost:905.  Note:
    569         <emphasis>https</emphasis>.  If access to the tool needs to be
    570         further restricted, then <xref linkend='iptables'/> can be
    571         used.</para>
    572 
    573       </sect4>
    574 
    575     </sect3>
    576 
    577     <sect3>
    578       <title/>
    579 
    580 
    581       <indexterm zone="samba samba-swat-config">
    582         <primary sortas="e-etc-pam.d-samba">/etc/pam.d/samba</primary>
    583       </indexterm>
    584 
    585     </sect3>
    586 
    587 
    588450  </sect2>
    589451
     
    598460      <seglistitem>
    599461
    600         <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel,
    601         ldbedit, ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump,
    602         net, nmbd, nmblookup, nmblookup4, ntlm_auth, oLschema2ldif, pdbedit,
    603         pidl, profiles, regdiff, regpatch, regshell, regtree, rpcclient, samba,
    604         samba_dnsupdate samba_kcc, samba_spnupdate, samba-tool,
    605         samba_upgradedns, sharesec, smbcacls, smbclient, smbclient4,
    606         smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool, smbstatus,
    607         smbta-util, smbtar, smbtree, smbtorture, swat, testparm, tdbbackup,
    608         tdbdump, tdbrestore, and tdbtool, winbindd, and wbinfo</seg>
    609 
    610         <seg>libnss_winbind.so, libnss_wins.so, libnetapi.so, libsmbclient.so,
    611         libsmbsharemodes.so, libwbclient.so, the pam_winbind.so
    612         and pam_smbpass.so PAM libraries, and assorted character set,
    613         filesystem and support modules.</seg>
     462        <seg>cifsdd, dbwrap_tool, eventlogadm, gentest, ldbadd, ldbdel, ldbedit,
     463        ldbmodify, ldbrename, ldbsearch, locktest, masktest, ndrdump, net, nmbd,
     464        nmblookup, nmblookup4, ntdbbackup, ntdbdump, ntdbrestore, ntdbtool,
     465        ntlm_auth, oLschema2ldif, pdbedit, pidl, profiles, regdiff, regpatch,
     466        regshell, regtree, rpcclient, samba, samba_dnsupdate, samba_kcc,
     467        samba-regedit, samba_spnupdate, samba-tool, samba_upgradedns, sharesec,
     468        smbcacls, smbclient, smbclient4, smbcontrol, smbcquotas, smbd, smbget,
     469        smbpasswd, smbspool, smbstatus, smbtar, smbta-util, smbtorture, smbtree,
     470        tdbbackup, tdbdump, tdbrestore, tdbtool, testparm, wbinfo, and
     471        winbindd</seg>
     472
     473        <seg>libdcerpc-atsvc.so, libdcerpc-binding.so, libdcerpc-samr.so,
     474        libdcerpc-server.so, libdcerpc.so, libgensec.so, libndr-krb5pac.so,
     475        libndr-nbt.so, libndr.so, libndr-standard.so, libnetapi.so,
     476        libnss_winbind.so, libnss_wins.so, libpdb.so, libregistry.so,
     477        libsamba-credentials.so, libsamba-hostconfig.so, libsamba-policy.so,
     478        libsamba-util.so, libsamdb.so, libsmbclient-raw.so, libsmbclient.so,
     479        libsmbconf.so, libsmbldap.so, libsmbsharemodes.so, libtevent-util.so,
     480        libtorture.so, libwbclient.so, mit_samba.so, the pam_winbind.so and
     481        pam_smbpass.so PAM libraries, winbind_krb5_locator.so, and assorted
     482        character set, filesystem and support modules.</seg>
    614483       
    615484        <seg>/etc/samba, /usr/include/samba-4.0, /usr/lib/samba,
    616         /usr/share/samba, /var/cache/samba, /var/lib/samba,
    617         /var/log/samba, /var/lock/samba, and /var/run/samba</seg>
     485        /usr/share/samba, /var/cache/samba, /var/lib/samba, /var/lock/samba,
     486        /var/log/samba, and /var/run/samba</seg>
    618487
    619488      </seglistitem>
     
    907776      </varlistentry>
    908777
    909       <varlistentry id="swat">
    910         <term><command>swat</command></term>
    911         <listitem>
    912           <para>is the <application>Samba</application> Web Administration
    913           Tool.</para>
    914           <indexterm zone="samba swat">
    915             <primary sortas="b-swat">swat</primary>
    916           </indexterm>
    917         </listitem>
    918       </varlistentry>
    919 
    920778      <varlistentry id="tdbbackup">
    921779        <term><command>tdbbackup</command></term>
  • postlfs/security/stunnel.xml

    rcc0ac6c r96770a19  
    219219
    220220      <para>For a full explanation of the commands and syntax used in the
    221       configuration file, run <command>man stunnel</command>. To see a
    222       BLFS example of an actual setup of an <command>stunnel</command> encrypted
    223       service, read the <xref linkend="samba-swat-config"/> in the
    224       <application>Samba</application> instructions.</para>
     221      configuration file, run <command>man stunnel</command>.</para>
    225222
    226223    </sect3>
Note: See TracChangeset for help on using the changeset viewer.