Changeset f4c0a45 for server/major


Ignore:
Timestamp:
12/09/2010 12:22:09 AM (13 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:
bf617d7
Parents:
3531524
Message:

Updated to Samba-3.5.6, and added commands to copy Samba schema files to the OpenLDAP schema directory

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/major/samba3.xml

    r3531524 rf4c0a45  
    77  <!ENTITY samba3-download-http "http://samba.org/samba/ftp/stable/samba-&samba3-version;.tar.gz">
    88  <!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)">
     9  <!ENTITY samba3-md5sum        "bf6c09ea497a166df8bd672db1d8da8f">
     10  <!ENTITY samba3-size          "30.8 MB">
     11  <!ENTITY samba3-buildsize     "451 MB">
     12  <!ENTITY samba3-time          "5 SBU (additional 1.4 SBU to run the test suite)">
    1313]>
    1414
     
    7979    <xref linkend="xfs"/>,
    8080    <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
    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>,
     81    <xref linkend="python"/> (used only in parts of the test suite),
     82    <ulink url="http://tdb.samba.org/">tdb</ulink> (version 1.2.1),
    8483    <ulink url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/">libcap2</ulink>,
    8584    <ulink url="http://www.nongnu.org/libunwind/">libunwind</ulink>,
     
    9190    used by the test suite)</para>
    9291
     92    <para>You will need to install one of the kerberos packages if you plan
     93    on using your system to join a Windows NT domain.</para>
     94
    9395    <bridgehead renderas="sect4">Optional for Samba4 Support</bridgehead>
    94     <para role="optional"><xref linkend="gnutls"/> (recommended) and
     96    <para role="optional"><xref linkend="gnutls"/> (recommended),
     97    <xref linkend="python"/>, and
    9598    <xref linkend="sqlite"/></para>
    9699
     
    114117    <para>Install <application>Samba</application> by running the following
    115118    commands:</para>
    116 
    117 <!-- <screen><userinput>for FILENAME in $(ls ../*.diff); do patch -Np1 -i $FILENAME; done &amp;&amp; -->
    118119
    119120<screen><userinput>cd source3 &amp;&amp;
     
    147148install -v -m644 ../examples/smb.conf.default /etc/samba  &amp;&amp;
    148149
     150if [ -d /etc/openldap/schema ]; then
     151    install -v -m644    ../examples/LDAP/README              \
     152                        /etc/openldap/schema/README.LDAP     &amp;&amp;
     153    install -v -m644    ../examples/LDAP/samba*              \
     154                        /etc/openldap/schema                 &amp;&amp;
     155    install -v -m755    ../examples/LDAP/{convert*,get*,ol*} \
     156                        /etc/openldap/schema                 &amp;&amp;
     157fi &amp;&amp;
     158
    149159install -v -m755 -d /usr/share/doc/samba-&samba3-version; &amp;&amp;
    150160install -v -m644    ../docs/*.pdf \
     
    152162ln -v -s ../../samba/swat  /usr/share/doc/samba-&samba3-version;</userinput></screen>
    153163
    154   <!-- <para>If you passed the <option>-with-python</option> option to the
    155   <command>configure</command> script, issue the following command as the
    156   <systemitem class="username">root</systemitem> user to install the
    157   <application>Python</application> extensions:</para>
    158 
    159 <screen role="root"><userinput>make python_install</userinput></screen> -->
    160 
    161164  </sect2>
    162165
     
    165168
    166169    <para><option>--enable-merged-build</option>: Use this parameter to build
    167     the Samba4 components (GnuTLS is recommended).</para>
     170    the (alpha) Samba4 components (GnuTLS is recommended).</para>
    168171
    169172    <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration
     
    189192    <para><parameter>--with-pthreads</parameter>: Adds threading support.</para>
    190193
    191     <!-- <para><parameter>-with-smbmount</parameter>: Orders the creation of an
    192     extra binary for use by the <command>mount</command> command so that
    193     mounting remote SMB (Windows) shares becomes no more complex than
    194     mounting remote NFS shares.</para> -->
    195 
    196     <para><option>--with-pam</option>: Use this parameter to link
    197     <application>Linux-PAM</application> into the build. This
    198     also builds the <filename class='libraryfile'>pam_winbind.so</filename>
    199     and <filename class='libraryfile'>pam_smbpass.so</filename>
    200     <application>PAM</application> modules. You can find
    201     instructions on how to configure and use the
    202     <filename class='libraryfile'>pam_winbind.so</filename> module by running
    203     <command>man winbindd</command>.</para>
    204 
    205     <!-- <para><command>mv -v /usr/lib/samba/libsmbclient.so ...; ln -v -sf
    206     ../libsmbclient.so ...</command>: The
    207     <filename class='libraryfile'>libsmbclient.so</filename> library is needed
    208     by other packages. This command moves it to a location where other packages
    209     can find it.</para> -->
    210 
    211194    <para><command>install -v -m755 nsswitch/libnss_win{s,bind}.so /lib</command>:
    212     The nss libraries are not installed by default.  If you intend to use
    213     winbindd for domain auth, and/or WINS name resolution,
     195    The nss libraries are not installed by default. If you intend to use
     196    winbindd for Windows NT domain authentication, and/or WINS name resolution,
    214197    you need these libraries.</para>
    215198
    216199    <para><command>ln -v -sf libnss_winbind.so /lib/libnss_winbind.so.2</command>
    217200    and <command>ln -v -sf libnss_wins.so /lib/libnss_wins.so.2</command>:
    218     These symlinks are required by glibc to use the NSS
    219     libraries.</para>
     201    These symlinks are required by <application>Glibc</application> to use the
     202    NSS libraries.</para>
     203
     204    <para><command>if [ -d /etc/openldap/schema ]; then ...; fi</command>:
     205    These commands are used to see if you have an OpenLDAP installation, and if
     206    so, they copy sample Samba schemas to the OpenLDAP
     207    <filename class='directory'>schema</filename> directory.</para>
    220208
    221209    <para><command>install -v -m644 ../examples/smb.conf.default
     
    684672      <segtitle>Installed Directories</segtitle>
    685673
    686 <!--newprogs: eventlogadm smbget-->
    687 
    688674      <seglistitem>
    689         <seg>cifs.upcall, eventlogadm, findsmb, mount.cifs, mount.smbfs, net, nmbd,
    690         nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, smbcacls,
    691         smbclient, smbcontrol, smbcquotas, smbd, smbget,
    692         smbpasswd, smbspool, smbstatus, smbtar, smbtree, swat,
    693         tdbbackup, tdbdump, tdbtool, testparm, umount.cifs, wbinfo
    694         and winbindd</seg>
    695         <seg>libnss_winbind.so, libnss_wins.so, libsmbclient.so, libmsrpc.so,
    696         the pam_winbind.so and pam_smbpass.so PAM libraries, and assorted
    697         character set, filesystem and support modules.</seg>
    698         <seg>/etc/samba, /usr/lib/python&python-majorver;/site-packages/samba,
    699         /usr/lib/samba, /usr/share/doc/samba-&samba3-version;,
    700         /usr/share/samba, /var/lib/samba and /var/log/samba</seg>
     675        <seg>cifs.upcall, eventlogadm, findsmb, ldbadd, ldbdel, ldbedit,
     676        ldbmodify, ldbrename, ldbsearch, mount.cifs, net, nmbd,
     677        nmblookup, ntlm_auth, pdbedit, profiles, rpcclient, sharesec, smbcacls,
     678        smbclient, smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool,
     679        smbstatus, smbtar, smbtree, swat, testparm, umount.cifs, wbinfo,
     680        winbindd, and (if not using system TDB) tdbbackup, tdbdump, and
     681        tdbtool</seg>
     682        <seg>libnss_winbind.so, libnss_wins.so, libnetapi.so, libsmbclient.so,
     683        libsmbsharemodes.so, libtalloc.so, libwbclient.so, the pam_winbind.so
     684        and pam_smbpass.so PAM libraries, and assorted character set,
     685        filesystem and support modules.</seg>
     686        <seg>/etc/samba, /usr/lib/samba, /usr/share/doc/samba-&samba3-version;,
     687        /usr/share/samba, /var/lib/samba and (if configured) /var/log/samba</seg>
    701688      </seglistitem>
    702689    </segmentedlist>
     
    706693      <?dbfo list-presentation="list"?>
    707694      <?dbhtml list-presentation="table"?>
     695
     696      <varlistentry id="cifs.upcall">
     697        <term><command>cifs.upcall</command></term>
     698        <listitem>
     699          <para>is a userspace upcall helper for Common Internet File Systems
     700           (CIFS)</para>
     701          <indexterm zone="samba3 cifs.upcall">
     702            <primary sortas="b-cifs.upcall">cifs.upcall</primary>
     703          </indexterm>
     704        </listitem>
     705      </varlistentry>
    708706
    709707      <varlistentry id="eventlogadm">
     
    730728      </varlistentry>
    731729
     730      <varlistentry id="ldbadd">
     731        <term><command>ldbadd</command></term>
     732        <listitem>
     733          <para>is a command-line utility for adding records to an LDB
     734          database.</para>
     735          <indexterm zone="samba3 ldbadd">
     736            <primary sortas="b-ldbadd">ldbadd</primary>
     737          </indexterm>
     738        </listitem>
     739      </varlistentry>
     740
     741      <varlistentry id="ldbdel">
     742        <term><command>ldbdel</command></term>
     743        <listitem>
     744          <para>is a command-line program for deleting LDB database
     745          records.</para>
     746          <indexterm zone="samba3 ldbdel">
     747            <primary sortas="b-ldbdel">ldbdel</primary>
     748          </indexterm>
     749        </listitem>
     750      </varlistentry>
     751
     752      <varlistentry id="ldbedit">
     753        <term><command>ldbedit</command></term>
     754        <listitem>
     755          <para>allows you to edit LDB databases using your preferred
     756          editor.</para>
     757          <indexterm zone="samba3 ldbedit">
     758            <primary sortas="b-ldbedit">ldbedit</primary>
     759          </indexterm>
     760        </listitem>
     761      </varlistentry>
     762
     763      <varlistentry id="ldbmodify">
     764        <term><command>ldbmodify</command></term>
     765        <listitem>
     766          <para>allows you to modify records in an LDB database.</para>
     767          <indexterm zone="samba3 ldbmodify">
     768            <primary sortas="b-ldbmodify">ldbmodify</primary>
     769          </indexterm>
     770        </listitem>
     771      </varlistentry>
     772
     773      <varlistentry id="ldbrename">
     774        <term><command>ldbrename</command></term>
     775        <listitem>
     776          <para>allows you to edit LDB databases using your preferred
     777          editor.</para>
     778          <indexterm zone="samba3 ldbrename">
     779            <primary sortas="b-ldbrename">ldbrename</primary>
     780          </indexterm>
     781        </listitem>
     782      </varlistentry>
     783
     784      <varlistentry id="ldbsearch">
     785        <term><command>ldbsearch</command></term>
     786        <listitem>
     787          <para>searches an LDB database for records matching a specified
     788          expression.</para>
     789          <indexterm zone="samba3 ldbsearch">
     790            <primary sortas="b-ldbsearch">ldbsearch</primary>
     791          </indexterm>
     792        </listitem>
     793      </varlistentry>
     794
    732795      <varlistentry id="mount.cifs">
    733796        <term><command>mount.cifs</command></term>
     
    742805      </varlistentry>
    743806
    744       <varlistentry id="mount.smbfs">
    745         <term><command>mount.smbfs</command></term>
    746         <listitem>
    747           <para>is a symlink to <command>smbmount</command> which provides
    748           <command>/bin/mount</command> with a way to mount remote Windows
    749           (or <application>Samba</application>) fileshares.</para>
    750           <indexterm zone="samba3 mount.smbfs">
    751             <primary sortas="b-mount.smbfs">mount.smbfs</primary>
    752           </indexterm>
    753         </listitem>
    754       </varlistentry>
    755 
    756807      <varlistentry id="net">
    757808        <term><command>net</command></term>
     
    830881      </varlistentry>
    831882
     883      <varlistentry id="sharesec">
     884        <term><command>sharesec</command></term>
     885        <listitem>
     886          <para>manipulates share ACL permissions on SMB file shares.</para>
     887          <indexterm zone="samba3 sharesec">
     888            <primary sortas="b-sharesec">sharesec</primary>
     889          </indexterm>
     890        </listitem>
     891      </varlistentry>
     892
    832893      <varlistentry id="smbcacls">
    833894        <term><command>smbcacls</command></term>
     
    896957      </varlistentry>
    897958
    898       <!-- <varlistentry id="smbmnt">
    899         <term><command>smbmnt</command></term>
    900         <listitem>
    901           <para>is a helper application used by the
    902           <command>smbmount</command> program to do the actual mounting of
    903           SMB shares. It can be installed setuid
    904           <systemitem class='username'>root</systemitem> if you want
    905           unprivileged users to be able to mount their SMB shares.</para>
    906           <indexterm zone="samba3 smbmnt">
    907             <primary sortas="b-smbmnt">smbmnt</primary>
    908           </indexterm>
    909         </listitem>
    910       </varlistentry>
    911 
    912       <varlistentry id="smbmount">
    913         <term><command>smbmount</command></term>
    914         <listitem>
    915           <para>is usually invoked as <command>mount.smbfs</command> by the
    916           <command>mount</command> command when using the
    917           <parameter>-t smbfs</parameter> option, mounts a Linux SMB
    918           filesystem.</para>
    919           <indexterm zone="samba3 smbmount">
    920             <primary sortas="b-smbmount">smbmount</primary>
    921           </indexterm>
    922         </listitem>
    923       </varlistentry> -->
    924 
    925959      <varlistentry id="smbpasswd">
    926960        <term><command>smbpasswd</command></term>
     
    9751009        </listitem>
    9761010      </varlistentry>
    977 
    978       <!-- <varlistentry id="smbumount">
    979         <term><command>smbumount</command></term>
    980         <listitem>
    981           <para>is used by unprivileged users to unmount SMB filesystems,
    982           provided that it is setuid root.</para>
    983           <indexterm zone="samba3 smbumount">
    984             <primary sortas="b-smbumount">smbumount</primary>
    985           </indexterm>
    986         </listitem>
    987       </varlistentry> -->
    9881011
    9891012      <varlistentry id="swat">
     
    10771100      </varlistentry>
    10781101
     1102      <varlistentry id="libnss_winbind">
     1103        <term><filename class='libraryfile'>libnss_winbind.so</filename></term>
     1104        <listitem>
     1105          <para>provides Name Service Switch API functions for resolving names
     1106          from NT servers.</para>
     1107          <indexterm zone="samba3 libnss_winbind">
     1108            <primary sortas="c-libnss_winbind">libnss_winbind.so</primary>
     1109          </indexterm>
     1110        </listitem>
     1111      </varlistentry>
     1112
     1113      <varlistentry id="libnss_wins">
     1114        <term><filename class='libraryfile'>libnss_wins.so</filename></term>
     1115        <listitem>
     1116          <para>provides API functions for Samba's implementation of the
     1117          Windows Internet Naming Service.</para>
     1118          <indexterm zone="samba3 libnss_wins">
     1119            <primary sortas="c-libnss_wins">libnss_wins.so</primary>
     1120          </indexterm>
     1121        </listitem>
     1122      </varlistentry>
     1123
     1124      <varlistentry id="libnetapi">
     1125        <term><filename class='libraryfile'>libnetapi.so</filename></term>
     1126        <listitem>
     1127          <para>provides the API functions for the administration tools used
     1128          for Samba and remote CIFS servers.</para>
     1129          <indexterm zone="samba3 libnetapi">
     1130            <primary sortas="c-libnetapi">libnetapi.so</primary>
     1131          </indexterm>
     1132        </listitem>
     1133      </varlistentry>
     1134
     1135      <varlistentry id="libsmbclient">
     1136        <term><filename class='libraryfile'>libsmbclient.so</filename></term>
     1137        <listitem>
     1138          <para>provides the API functions for the Samba SMB client tools.</para>
     1139          <indexterm zone="samba3 libsmbclient">
     1140            <primary sortas="c-libsmbclient">libsmbclient.so</primary>
     1141          </indexterm>
     1142        </listitem>
     1143      </varlistentry>
     1144
     1145      <varlistentry id="libsmbsharemodes">
     1146        <term><filename class='libraryfile'>libsmbsharemodes.so</filename></term>
     1147        <listitem>
     1148          <para>provides API functions for accessing SMB share modes
     1149          (locks etc.)</para>
     1150          <indexterm zone="samba3 libsmbsharemodes">
     1151            <primary sortas="c-libsmbsharemodes">libsmbsharemodes.so</primary>
     1152          </indexterm>
     1153        </listitem>
     1154      </varlistentry>
     1155
     1156      <varlistentry id="libwbclient">
     1157        <term><filename class='libraryfile'>libwbclient.so</filename></term>
     1158        <listitem>
     1159          <para>provides API functions for Windows domain client services.</para>
     1160          <indexterm zone="samba3 libwbclient">
     1161            <primary sortas="c-libwbclient">libwbclient.so</primary>
     1162          </indexterm>
     1163        </listitem>
     1164      </varlistentry>
     1165
    10791166    </variablelist>
    10801167
Note: See TracChangeset for help on using the changeset viewer.