Changeset 6dcdcde for server


Ignore:
Timestamp:
03/28/2010 03:15:31 PM (14 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 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:
d6fd371
Parents:
072e488
Message:

Updated to Samba-3.5.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/major/samba3.xml

    r072e488 r6dcdcde  
    55  %general-entities;
    66
    7   <!ENTITY samba3-download-http "http://us1.samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
    8   <!ENTITY samba3-download-ftp  "ftp://us5.samba.org/pub/samba-ftp/samba-&samba3-version;.tar.gz">
    9   <!ENTITY samba3-md5sum        "d647ec1f34414fa8691f74536dcccfb5">
    10   <!ENTITY samba3-size          "20 MB">
    11   <!ENTITY samba3-buildsize     "238 MB">
    12   <!ENTITY samba3-time          "2.3 SBU (additional 1.0 SBU to run the test suite)">
     7  <!ENTITY samba3-download-http "http://samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
     8  <!ENTITY samba3-download-ftp  "ftp://samba.org/pub/samba/samba-&samba3-version;.tar.gz">
     9  <!ENTITY samba3-md5sum        "60811195b0507fa151b602684cece743">
     10  <!ENTITY samba3-size          "30 MB">
     11  <!ENTITY samba3-buildsize     "510 MB">
     12  <!ENTITY samba3-time          "5 SBU (additional 1.5 SBU to run the test suite)">
    1313]>
    1414
     
    7777    <xref linkend="gamin"/>,
    7878    <xref linkend="acl"/>,
     79    <xref linkend="xfs"/>,
    7980    <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
    80     <xref linkend="python"/> (to build Samba API bindings for the
    81     <application>Python</application> installation),
     81    <!-- <xref linkend="python"/> (to build Samba API bindings for the
     82    <application>Python</application> installation), -->
     83    <ulink url="http://tdb.samba.org/">tdb</ulink>,
     84    <ulink url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">libcap2</ulink>,
     85    <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
     86    <ulink url="http://people.redhat.com/dhowells/keyutils/">keyutils</ulink>
     87    (required to build the <command>cifs.upcall</command> program),
     88    <ulink url="http://www.avahi.org">Avahi</ulink>,
     89    <ulink url="http://www.openafs.org/">OpenAFS</ulink>,
    8290    and <ulink url="http://valgrind.org/">Valgrind</ulink> (optionally
    8391    used by the test suite)</para>
     92
     93    <bridgehead renderas="sect4">Optional for Samba4 Support</bridgehead>
     94    <para role="optional"><xref linkend="gnutls"/> (recommended) and
     95    <xref linkend="sqlite"/></para>
    8496
    8597    <para condition="html" role="usernotes">User Notes:
     
    105117<!-- <screen><userinput>for FILENAME in $(ls ../*.diff); do patch -Np1 -i $FILENAME; done &amp;&amp; -->
    106118
    107 <screen><userinput>cd source &amp;&amp;
     119<screen><userinput>cd source3 &amp;&amp;
    108120
    109121./configure \
     
    114126    --with-pammodulesdir=/lib/security \
    115127    --with-fhs \
    116     --with-smbmount &amp;&amp;
     128    --with-automount \
     129    --with-cifsumount \
     130    --enable-nss-wrapper \
     131    --with-pthreads &amp;&amp;
    117132make</userinput></screen>
    118133
    119     <para>You must become the <systemitem class="username">root</systemitem>
    120     user to run the test framework. To run the tests, issue:
    121     <command>make test</command>. If you have
     134    <para>To test the results, issue: <command>make test</command>. If you have
    122135    <application>Linux-PAM</application> installed and built the PAM library
    123136    modules, you can perform a dlopen test by issuing:
     
    127140
    128141<screen role="root"><userinput>make install &amp;&amp;
    129 mv -v /usr/lib/samba/libsmbclient.so /usr/lib &amp;&amp;
    130 ln -v -sf ../libsmbclient.so /usr/lib/samba &amp;&amp;
    131 ln -v -sf libsmbclient.so /usr/lib/libsmbclient.so.0 &amp;&amp;
    132 
    133 chmod -v 644 /usr/include/lib{smbclient,msrpc}.h &amp;&amp;
    134 
    135 install -v -m755 nsswitch/libnss_win{s,bind}.so /lib &amp;&amp;
    136 ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2 &amp;&amp;
    137 ln -v -sf libnss_wins.so /lib/libnss_wins.so.2 &amp;&amp;
    138 
    139 install -v -m644 ../examples/smb.conf.default /etc/samba &amp;&amp;
     142
     143install -v -m755 ../nsswitch/libnss_win{s,bind}.so /lib   &amp;&amp;
     144ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2      &amp;&amp;
     145ln -v -sf libnss_wins.so    /lib/libnss_wins.so.2         &amp;&amp;
     146
     147install -v -m644 ../examples/smb.conf.default /etc/samba  &amp;&amp;
    140148
    141149install -v -m755 -d /usr/share/doc/samba-&samba3-version; &amp;&amp;
    142 install -v -m644 ../docs/*.pdf /usr/share/doc/samba-&samba3-version; &amp;&amp;
     150install -v -m644    ../docs/*.pdf \
     151                    /usr/share/doc/samba-&samba3-version; &amp;&amp;
    143152ln -v -s ../../samba/swat  /usr/share/doc/samba-&samba3-version;</userinput></screen>
    144153
    145   <para>If you passed the <option>--with-python</option> option to the
     154  <!-- <para>If you passed the <option>-with-python</option> option to the
    146155  <command>configure</command> script, issue the following command as the
    147156  <systemitem class="username">root</systemitem> user to install the
    148157  <application>Python</application> extensions:</para>
    149158
    150 <screen role="root"><userinput>make python_install</userinput></screen>
     159<screen role="root"><userinput>make python_install</userinput></screen> -->
    151160
    152161  </sect2>
     
    154163  <sect2 role="commands">
    155164    <title>Command Explanations</title>
     165
     166    <para><option>--enable-merged-build</option>: Use this parameter to build
     167    the Samba4 components (GnuTLS is recommended).</para>
    156168
    157169    <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
     
    166178    a manner compliant with the Filesystem Hierarchy Standard (FHS).</para>
    167179
    168     <para><parameter>--with-smbmount</parameter>: Orders the creation of an
     180    <para><parameter>--with-automount</parameter>: Includes automounting
     181    support.</para>
     182
     183    <para><parameter>--with-cifsumount</parameter>: Builds the
     184    <command>umount.cifs</command> program.</para>
     185
     186    <para><parameter>--enable-nss-wrapper</parameter>: Builds the nss-wrapper
     187    library.</para>
     188
     189    <para><parameter>--with-pthreads</parameter>: Adds threading support.</para>
     190
     191    <!-- <para><parameter>-with-smbmount</parameter>: Orders the creation of an
    169192    extra binary for use by the <command>mount</command> command so that
    170193    mounting remote SMB (Windows) shares becomes no more complex than
    171     mounting remote NFS shares.</para>
     194    mounting remote NFS shares.</para> -->
    172195
    173196    <para><option>--with-pam</option>: Use this parameter to link
     
    180203    <command>man winbindd</command>.</para>
    181204
    182     <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
     205    <!-- <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
    183206    ../libsmbclient.so ...</command>: The
    184207    <filename class='libraryfile'>libsmbclient.so</filename> library is needed
    185208    by other packages. This command moves it to a location where other packages
    186     can find it.</para>
     209    can find it.</para> -->
    187210
    188211    <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
     
    223246
    224247      <para>If it is desired for unprivileged users to directly mount (and
    225       unmount) SMB and CIFS shares, the <command>smbmnt</command>,
    226       <command>smbumount</command>, <command>mount.cifs</command> and
     248      unmount) CIFS shares, the <command>mount.cifs</command> and
    227249      <command>umount.cifs</command> commands must be setuid
    228250      <systemitem class='username'>root</systemitem>. Note that users can
    229       only mount SMB/CIFS shares on a mount point owned by that user (requires
     251      only mount CIFS shares on a mount point owned by that user (requires
    230252      write access also). If desired, change these programs to setuid
    231253      <systemitem class='username'>root</systemitem> by issuing the following
     
    233255      user:</para>
    234256
    235 <screen role="root"><userinput>chmod -v 4755 /usr/bin/smb{mnt,umount} \
    236               /usr/sbin/{,u}mount.cifs</userinput></screen>
     257<screen role="root"><userinput>chmod -v 4755 /usr/sbin/{,u}mount.cifs</userinput></screen>
    237258
    238259    </sect3>
     
    666687
    667688      <seglistitem>
    668         <seg>eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd,
     689        <seg>cifs.upcall, eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd,
    669690        nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, smbcacls,
    670         smbclient, smbcontrol, smbcquotas, smbd, smbget, smbmnt, smbmount,
    671         smbpasswd, smbspool, smbstatus, smbtar, smbtree, smbumount, swat,
     691        smbclient, smbcontrol, smbcquotas, smbd, smbget,
     692        smbpasswd, smbspool, smbstatus, smbtar, smbtree, swat,
    672693        tdbbackup, tdbdump, tdbtool, testparm, umount.cifs, wbinfo
    673694        and winbindd</seg>
     
    875896      </varlistentry>
    876897
    877       <varlistentry id="smbmnt">
     898      <!-- <varlistentry id="smbmnt">
    878899        <term><command>smbmnt</command></term>
    879900        <listitem>
     
    900921          </indexterm>
    901922        </listitem>
    902       </varlistentry>
     923      </varlistentry> -->
    903924
    904925      <varlistentry id="smbpasswd">
     
    955976      </varlistentry>
    956977
    957       <varlistentry id="smbumount">
     978      <!-- <varlistentry id="smbumount">
    958979        <term><command>smbumount</command></term>
    959980        <listitem>
     
    964985          </indexterm>
    965986        </listitem>
    966       </varlistentry>
     987      </varlistentry> -->
    967988
    968989      <varlistentry id="swat">
Note: See TracChangeset for help on using the changeset viewer.