Ignore:
Timestamp:
08/01/2015 04:26:22 AM (9 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
ad6910d
Parents:
4a83293
Message:

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/openldap-systemd.xml

    r4a83293 rac38e9dc  
    99  <!ENTITY openldap-md5sum        "423c1f23d2a0cb96b3e9baf7e9d7dda7">
    1010  <!ENTITY openldap-size          "5.4 MB">
    11   <!ENTITY openldap-buildsize     "47 MB (client) 101 MB (server - additional 5 MB for the tests)">
    12   <!ENTITY openldap-time          "0.9 SBU (client) 1.8 SBU (server - additional 3.4 SBU for the tests)">
     11  <!ENTITY openldap-buildsize     "47 MB (client), 101 MB (server, additional 5 MB for the tests)">
     12  <!ENTITY openldap-time          "0.6 SBU (client), 1.1 SBU (server, additional 3.4 SBU for the tests)">
    1313]>
    1414
     
    3535    </para>
    3636
    37     &lfs76_checked;
     37    &lfs77_checked;
    3838
    3939    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7676        <para>
    7777          Required patch:
    78           <ulink url="&patch-root;/openldap-&openldap-version;-blfs_paths-1.patch"/>
     78          <ulink url="&patch-root;/openldap-&openldap-version;-consolidated-1.patch"/>
    7979        </para>
    8080      </listitem>
    81       <listitem>
    82         <para>
    83           Required patch:
    84           <ulink url="&patch-root;/openldap-&openldap-version;-symbol_versions-1.patch"/>
    85         </para>
    86       </listitem>
    87       <!-- <listitem>
    88         <para>
    89           Optional patch:
    90           <ulink url="&patch-root;/openldap-&openldap-version;-ntlm-1.patch"/>
    91         </para>
    92       </listitem> -->
    9381    </itemizedlist>
    9482
    9583    <bridgehead renderas="sect3">OpenLDAP Dependencies</bridgehead>
    96 
    97     <bridgehead renderas="sect4">Required</bridgehead>
    98     <para role="required">
    99       <xref linkend="db"/> (only if building server)
    100     </para>
    10184
    10285    <bridgehead renderas="sect4">Recommended</bridgehead>
     
    10891    <bridgehead renderas="sect4">Optional</bridgehead>
    10992    <para role="optional">
     93      <xref linkend="db"/> (not recommended by the
     94      developers due to license incompatiblities),
    11095      <xref linkend="icu"/>,
    11196      <xref linkend="mariadb"/> or
    11297      <xref linkend="postgresql"/>,
    113       <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
    114       <xref linkend="pth"/> and
    115       <xref linkend="unixodbc"/>
     98      <xref linkend="pth"/>,
     99      <xref linkend="unixodbc"/> and
     100      <ulink url="http://www.openslp.org/">OpenSLP</ulink>
    116101    </para>
    117102
     
    124109    <title>Installation of OpenLDAP</title>
    125110
    126     <!-- <important>
    127       <para>
    128         Without the following patch, the <application>Evolution</application>
    129         Exchange addressbook integration uses simple binds with cleartext
    130         passwords. If you are going to build
    131         <application>Evolution Data Server</application> with
    132         <application>OpenLDAP</application> support, apply the following patch:
    133       </para>
    134 
    135 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-ntlm-1.patch</userinput></screen>
    136     </important> -->
    137 
    138111    <note>
    139112      <para>
    140113        If you only need to install the client side <command>ldap*</command>
    141         binaries, corresponding man pages, libraries and header files (referred to
    142         as a <quote>client-only</quote> install), issue these
    143         commands instead of the following ones (no test suite available):
    144       </para>
    145 
    146 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs_paths-1.patch &amp;&amp;
    147 patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch &amp;&amp;
     114        binaries, corresponding man pages, libraries and header files (referred
     115        to as a <quote>client-only</quote> install), issue these commands
     116        instead of the following ones (no test suite available):
     117      </para>
     118
     119<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-consolidated-1.patch &amp;&amp;
    148120autoconf &amp;&amp;
    149 sed -i '/6.0.20/ a\\t__db_version_compat' configure &amp;&amp;
     121
    150122./configure --prefix=/usr     \
    151123            --sysconfdir=/etc \
     
    165137    </note>
    166138
     139    <warning>
     140      <para>
     141        If upgrading from a previos installation that used Berkeley DB as
     142        the backend, you will need to dump the database(s) using the
     143        <command>slapcat</command> utility, relocate all files in
     144        <filename class="directory">/var/lib/openldap</filename>, change all
     145        instances of <option>bdb</option> to <option>mdb</option> in
     146        <filename>/etc/openldap/slapd.conf</filename> and any files in
     147        <filename class="directory">/etc/openldap/slapd.d</filename>, and import
     148        using the <command>slapadd</command> utility after the installation is
     149        completed.
     150      </para>
     151    </warning>
     152
    167153    <para>
    168154      There should be a dedicated user and group to take control
     
    181167    </para>
    182168
    183 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs_paths-1.patch &amp;&amp;
    184 patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch &amp;&amp;
     169<screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-consolidated-1.patch &amp;&amp;
    185170autoconf &amp;&amp;
     171
    186172./configure --prefix=/usr         \
    187173            --sysconfdir=/etc     \
     
    197183            --enable-backends=mod \
    198184            --enable-overlays=mod \
     185            --disable-bdb         \
     186            --disable-hdb         \
    199187            --disable-ndb         \
    200188            --disable-sql &amp;&amp;
     
    212200<screen role="root"><userinput>make install &amp;&amp;
    213201
    214 chmod -v 700 /var/lib/openldap                                         &amp;&amp;
    215 chown -v -R ldap:ldap /var/lib/openldap                                &amp;&amp;
    216 chmod -v 640 /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example}       &amp;&amp;
    217 chown -v root:ldap /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} &amp;&amp;
    218 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d                &amp;&amp;
    219 
    220 install -v -dm755  /usr/share/doc/openldap-&openldap-version; &amp;&amp;
    221 cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; &amp;&amp;
    222 cp -vfr doc/rfc    /usr/share/doc/openldap-&openldap-version; &amp;&amp;
    223 cp -vfr doc/guide  /usr/share/doc/openldap-&openldap-version;</userinput></screen>
     202install -v -dm700 -o ldap -g ldap /var/lib/openldap     &amp;&amp;
     203install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d &amp;&amp;
     204chmod -v 640       /etc/openldap/slapd.{conf,ldif}      &amp;&amp;
     205chown -v root:ldap /etc/openldap/slapd.{conf,ldif}      &amp;&amp;
     206
     207install -v -dm755              /usr/share/doc/openldap-&openldap-version; &amp;&amp;
     208cp -vfr doc/{drafts,rfc,guide} /usr/share/doc/openldap-&openldap-version;</userinput></screen>
    224209
    225210    <para>
     
    282267
    283268    <para>
     269      <parameter>--disable-bdb --disable-hdb</parameter>: These
     270      switches disable
     271      <application>Berkeley DB</application> backend due to
     272      license incompatiblities with latest version of
     273      <application>Berkeley DB</application>.
     274    </para>
     275
     276    <para>
    284277      <parameter>--disable-ndb</parameter>: This switch disables
    285278      <application>MySQL</application> NDB Cluster backend
     
    376369        <listitem>
    377370          <para>
    378             The <ulink url="http://www.openldap.org/doc/admin24/">
    379             OpenLDAP 2.4 Administrator's Guide</ulink>
    380             (also installed locally in <filename class='directory'>
     371            The <ulink url="http://www.openldap.org/doc/admin24/"> OpenLDAP 2.4
     372            Administrator's Guide</ulink> (also installed locally in
     373            <filename class="directory">
    381374            /usr/share/doc/openldap-&openldap-version;/guide/admin</filename>).
    382375          </para>
     
    454447#
    455448# LDAPv3
    456 # base &lt;&gt; with scope base
     449# base &lt;&gt; with scope baseObject
    457450# filter: (objectclass=*)
    458451# requesting: namingContexts
Note: See TracChangeset for help on using the changeset viewer.