Ignore:
Timestamp:
04/05/2012 11:45:05 PM (12 years ago)
Author:
Krejzi <krejzi@…>
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:
c9df31a
Parents:
d0512e0
Message:

openldap 2.4.30

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/openldap.xml

    rd0512e0 rc00932a  
    55  %general-entities;
    66
    7   <!-- <!ENTITY openldap-download-http "http://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-stable/openldap-&openldap-download-version;.tgz">
    8   <!ENTITY openldap-download-ftp  "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-&openldap-download-version;.tgz"> -->
    9   <!ENTITY openldap-download-http "http://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
     7<!--  <!ENTITY openldap-download-http "http://gd.tuwien.ac.at/infosys/network/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz"> -->
     8  <!ENTITY openldap-download-http " ">
    109  <!ENTITY openldap-download-ftp  "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
    11   <!ENTITY openldap-md5sum        "90150b8c0d0192e10b30157e68844ddf">
    12   <!ENTITY openldap-size          "5.1 MB">
    13   <!ENTITY openldap-buildsize     "139 MB">
     10  <!ENTITY openldap-md5sum        "4f210937cf87e3467a536dd3fed1b8b4">
     11  <!ENTITY openldap-size          "5.2 MB">
     12  <!ENTITY openldap-buildsize     "152 MB">
    1413  <!ENTITY openldap-time          "2.0 SBU and approximately 35 minutes to run the tests (processor independent)">
    1514]>
     
    6160      <listitem>
    6261        <para>Required patch: <ulink
    63         url="&patch-root;/openldap-&openldap-version;-bdb5-1.patch"/></para>
     62        url="&patch-root;/openldap-&openldap-version;-blfs-paths-1.patch"/></para>
     63        <para>Required patch: <ulink
     64        url="&patch-root;/openldap-&openldap-version;-symbol-versions-1.patch"/></para>
     65        <para>Optional patch: <ulink
     66        url="&patch-root;/openldap-&openldap-version;-ntlm-1.patch"/></para>
    6467      </listitem>
    6568    </itemizedlist>
    6669
    67     <!-- <note>
    68       <para>The <application>OpenLDAP</application> stable releases are
    69       packaged without version numbers in the tarball names. You can see the
    70       relationship between the version number and name of the tarball at <ulink
    71       url="http://www.openldap.org/software/download/"/>.</para>
    72     </note> -->
    73 
    7470    <bridgehead renderas="sect3">OpenLDAP Dependencies</bridgehead>
    7571
    7672    <bridgehead renderas="sect4">Required</bridgehead>
    77     <para role="required"><xref linkend="db"/> (recommended) or
    78     GDBM (GDBM is built in LFS)</para>
    79     <!-- <xref linkend="gdbm"/></para> -->
     73    <para role="required"><xref linkend="db"/></para>
    8074
    8175    <bridgehead renderas="sect4">Recommended</bridgehead>
    82     <para role="recommended"><xref linkend="cyrus-sasl"/> and
    83     <xref linkend="openssl"/></para>
     76    <para role="recommended"><xref linkend="cyrus-sasl"/>
     77    and <xref linkend="openssl"/></para>
    8478
    8579    <bridgehead renderas="sect4">Optional</bridgehead>
    86     <para role="optional"><xref linkend="tcpwrappers"/>,
     80    <para role="optional"><xref linkend="icu"/>,
     81    <xref linkend="tcpwrappers"/>,
    8782    <xref linkend="unixodbc"/>,
    8883    <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
     
    9893  <sect2 role="installation">
    9994    <title>Installation of OpenLDAP</title>
     95
     96    <note>
     97      <para>Without this patch, the Exchange
     98      addressbook integration uses simple binds with cleartext
     99      passwords. If you are going to build evolution-data-server
     100      with OpenLDAP support, apply this patch:</para>
     101
     102<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-ntlm-1.patch</userinput></screen>
     103    </note>
    100104
    101105    <note>
     
    106110      then proceed with the remaining commands (no test suite available):</para>
    107111
    108 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-bdb5-1.patch &amp;&amp;
     112<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs-paths-1.patch &amp;&amp;
     113patch -Np1 -i ../openldap-&openldap-version;-symbol-versions-1.patch &amp;&amp;
    109114./configure --prefix=/usr \
    110115            --sysconfdir=/etc \
     116            --enable-dynamic \
    111117            --disable-debug \
    112             --enable-dynamic \
    113             --enable-slapd=no &amp;&amp;</userinput></screen>
     118            --disable-slapd</userinput></screen>
    114119    </note>
    115120
     
    117122    running the following commands:</para>
    118123
    119 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-bdb5-1.patch &amp;&amp;
     124<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs-paths-1.patch &amp;&amp;
     125patch -Np1 -i ../openldap-&openldap-version;-symbol-versions-1.patch &amp;&amp;
    120126./configure --prefix=/usr \
    121             --libexecdir=/usr/sbin \
    122127            --sysconfdir=/etc \
    123             --localstatedir=/srv/ldap \
     128            --localstatedir=/var \
     129            --libexecdir=/usr/lib \
     130            --disable-static \
    124131            --disable-debug \
    125132            --enable-dynamic \
     
    127134            --enable-modules \
    128135            --enable-rlookups \
    129             --enable-backends \
    130             --enable-overlays \
     136            --enable-backends=mod \
     137            --enable-overlays=mod \
     138            --disable-ndb \
    131139            --disable-sql &amp;&amp;
    132140make depend &amp;&amp;
     
    142150
    143151<screen role="root"><userinput>make install &amp;&amp;
    144 
    145 for LINK in lber ldap ldap_r; do
    146     chmod -v 0755 /usr/lib/$(readlink /usr/lib/lib${LINK}.so)
    147 done &amp;&amp;
    148152
    149153install -v -m755 -d /usr/share/doc/openldap-&openldap-version;/{drafts,guide,rfc} &amp;&amp;
     
    160164    <title>Command Explanations</title>
    161165
    162     <para><parameter>--libexecdir=/usr/sbin</parameter>: Installs the
    163     <command>slapd</command> daemon programs in
    164     <filename class="directory">/usr/sbin</filename> instead of
    165     <filename class="directory">/usr/libexec</filename>.</para>
    166 
    167     <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration file
    168     directory to avoid the default of
    169     <filename class="directory">/usr/etc</filename>.</para>
    170 
    171     <para><parameter>--localstatedir=/srv/ldap</parameter>: Sets the directory
    172     to use for the LDAP directory database, replication logs and
    173     run-time variable data.</para>
     166    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     167    href="../../xincludes/static-libraries.xml"/>
    174168
    175169    <para><parameter>--disable-debug</parameter>: Disable debugging code.</para>
     
    185179    support.</para>
    186180
    187     <!-- <para><parameter>-enable-ldap</parameter>: Enables the
    188     <command>slapd</command> LDAP backend.</para>
    189 
    190     <para><parameter>-enable-ldbm</parameter>: Build <command>slapd</command>
    191     with the primary database back end using either
    192     <application>Berkeley DB</application> or
    193     <application>GNU Database Manager</application>.</para> -->
    194 
    195181    <para><parameter>--enable-rlookups</parameter>: This parameter enables
    196182    reverse lookups of client hostnames.</para>
     
    201187    <para><parameter>--enable-overlays</parameter>: This parameter enables
    202188    all available overlays.</para>
     189
     190    <para><parameter>--disable-ndb</parameter>: This parameter disables
     191    MySQL NDB Cluster backend which causes configure to fail if
     192    MySQL is present.</para>
    203193
    204194    <para><parameter>--disable-sql</parameter>: This parameter explicitly
    205195    disables the sql backend.  Omit this switch if a SQL server is
    206196    installed and you are going to use a SQL backend (experimental).</para>
     197
     198    <para><parameter>--enable-spasswd</parameter>: This parameter enables
     199    SASL password verification.</para>
     200   
     201    <para><parameter>--enable-slp</parameter>: This parameter enables
     202    SLPv2 support. Use this switch if you have installed
     203    <ulink url="http://www.openslp.org/">OpenSLP</ulink>.</para>
     204   
     205    <para><parameter>--enable-wrappers</parameter>: This parameter enables
     206    tcp wrappers support. Use this switch if you have installed
     207    <xref linkend="tcpwrappers"/>.</para>
    207208
    208209    <para><option>--disable-bdb --disable-hdb --with-ldbm-api=gdbm</option>:
     
    211212    <application>Berkeley DB</application> as the primary backend
    212213    database.</para>
    213 
    214     <para><command>chmod -v 0755 ...</command>: This
    215     command adds the executable bit to the shared libraries.</para>
    216214
    217215    <note>
     
    320318
    321319<screen role="root"><userinput>make install-openldap1</userinput></screen>
    322 
    323       <!-- <para><emphasis>Note:</emphasis> The init script you just installed only
    324       starts the <command>slapd</command> daemon. If you wish to also start the
    325       <command>slurpd</command> daemon at system startup, install a modified
    326       version of the script using this command:</para>
    327 
    328 <screen role="root"><userinput>make install-openldap2</userinput></screen> -->
    329320
    330321      <note>
     
    383374
    384375      <seglistitem>
    385         <seg>ldapadd, ldapcompare, ldapdelete, ldapmodify, ldapmodrdn,
    386         ldappasswd, ldapsearch, ldapwhoami, slapadd, slapcat, slapd, slapdn,
    387         slapindex, slappasswd, and slaptest</seg>
    388         <seg>liblber.{so,a}, libldap.{so,a}, and libldap_r.{so,a}</seg>
    389         <seg>/etc/openldap, /srv/ldap, and /usr/share/openldap</seg>
     376        <seg>ldapadd, ldapcompare, ldapdelete, ldapexop, ldapmodify, ldapmodrdn,
     377        ldappasswd, ldapsearch, ldapurl, ldapwhoami, slapacl, slapadd, slapauth,
     378        slapcat, slapd, slapdn, slapindex, slappasswd, slapschema and slaptest</seg>
     379        <seg>liblber.so, libldap.so,a and libldap_r.so</seg>
     380        <seg>/etc/openldap, /usr/lib/openldap
     381        and /var/lib/openldap</seg>
    390382      </seglistitem>
    391383    </segmentedlist>
     
    429421      </varlistentry>
    430422
     423      <varlistentry id="ldapexop">
     424        <term><command>ldapexop</command></term>
     425        <listitem>
     426          <para>issues the LDAP extended operation specified by
     427          oid or one of the  special  keywords  whoami,
     428          cancel, or refresh.</para>
     429          <indexterm zone="openldap ldapexop">
     430            <primary sortas="b-ldapexop">ldapexop</primary>
     431          </indexterm>
     432        </listitem>
     433      </varlistentry>
     434
    431435      <varlistentry id="ldapmodify">
    432436        <term><command>ldapmodify</command></term>
     
    472476      </varlistentry>
    473477
     478      <varlistentry id="ldapurl">
     479        <term><command>ldapurl</command></term>
     480        <listitem>
     481          <para>is a command that allows to either compose or
     482          decompose LDAP URIs.</para>
     483          <indexterm zone="openldap ldapurl">
     484            <primary sortas="b-ldapurl">ldapurl</primary>
     485          </indexterm>
     486        </listitem>
     487      </varlistentry>
     488
    474489      <varlistentry id="ldapwhoami">
    475490        <term><command>ldapwhoami</command></term>
     
    483498      </varlistentry>
    484499
     500      <varlistentry id="slapacl">
     501        <term><command>slapacl</command></term>
     502        <listitem>
     503          <para>is used to check the behavior of slapd by verifying
     504          access to directory data according to the access control
     505          list directives defined in its configuration.</para>
     506          <indexterm zone="openldap slapacl">
     507            <primary sortas="b-slapacl">slapacl</primary>
     508          </indexterm>
     509        </listitem>
     510      </varlistentry>
     511
    485512      <varlistentry id="slapadd">
    486513        <term><command>slapadd</command></term>
     
    494521      </varlistentry>
    495522
     523      <varlistentry id="slapauth">
     524        <term><command>slapauth</command></term>
     525        <listitem>
     526          <para>is used to check the behavior of the slapd
     527          in mapping identities for authentication  and
     528          authorization purposes, as specified in slapd.conf.</para>
     529          <indexterm zone="openldap slapauth">
     530            <primary sortas="b-slapauth">slapauth</primary>
     531          </indexterm>
     532        </listitem>
     533      </varlistentry>
     534
    496535      <varlistentry id="slapcat">
    497536        <term><command>slapcat</command></term>
     
    548587      </varlistentry>
    549588
     589      <varlistentry id="slapschema">
     590        <term><command>slapschema</command></term>
     591        <listitem>
     592          <para>is used to check schema compliance of the contents
     593          of a slapd database.</para>
     594          <indexterm zone="openldap slapschema">
     595            <primary sortas="b-slapschema">slapschema</primary>
     596          </indexterm>
     597        </listitem>
     598      </varlistentry>
     599
    550600      <varlistentry id="slaptest">
    551601        <term><command>slaptest</command></term>
     
    560610
    561611      <varlistentry id="liblber">
    562         <term><filename class='libraryfile'>liblber.{so,a}</filename></term>
     612        <term><filename class='libraryfile'>liblber.so</filename></term>
    563613        <listitem>
    564614          <para>is a set of lightweight Basic Encoding Rules routines. These
     
    569619          and extended operations.</para>
    570620          <indexterm zone="openldap liblber">
    571             <primary sortas="c-liblber">liblber.{so,a}</primary>
     621            <primary sortas="c-liblber">liblber.so</primary>
    572622          </indexterm>
    573623        </listitem>
     
    575625
    576626      <varlistentry id="libldap">
    577         <term><filename class='libraryfile'>libldap.{so,a}</filename></term>
     627        <term><filename class='libraryfile'>libldap.so</filename></term>
    578628        <listitem>
    579629          <para>supports the LDAP programs and provide functionality for
    580630          other programs interacting with LDAP.</para>
    581631          <indexterm zone="openldap libldap">
    582             <primary sortas="c-libldap">libldap.{so,a}</primary>
     632            <primary sortas="c-libldap">libldap.so</primary>
    583633          </indexterm>
    584634        </listitem>
     
    586636
    587637      <varlistentry id="libldap_r">
    588         <term><filename class='libraryfile'>libldap_r.{so,a}</filename></term>
     638        <term><filename class='libraryfile'>libldap_r.so</filename></term>
    589639        <listitem>
    590640          <para>contains the functions required by the LDAP programs to
    591641          produce the results from LDAP requests.</para>
    592642          <indexterm zone="openldap libldap_r">
    593             <primary sortas="c-libldap_r">libldap_r.{so,a}</primary>
     643            <primary sortas="c-libldap_r">libldap_r.so</primary>
    594644          </indexterm>
    595645        </listitem>
Note: See TracChangeset for help on using the changeset viewer.