Changeset defca61 for server


Ignore:
Timestamp:
03/26/2015 04:14:06 PM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
08bb11c1
Parents:
f141376
Message:

Update to samba-4.2.0.
Fix modification of OpenLDAP-2.4.40 instructions disabling incompatible use of Berkeley DB-6.1.23.
Typos in LibreOffice-4.4.1.2 and Cyrus SASL-2.1.26.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/other/openldap.xml

    rf141376 rdefca61  
    118118      <para>
    119119        If you only need to install the client side <command>ldap*</command>
    120         binaries, corresponding man pages, libraries and header files (referred to
    121         as a <quote>client-only</quote> install), issue these
    122         commands instead of the following ones (no test suite available):
     120        binaries, corresponding man pages, libraries and header files (referred
     121        to as a <quote>client-only</quote> install), issue these commands
     122        instead of the following ones (no test suite available):
    123123      </para>
    124124
     
    143143
    144144    </note>
     145 
     146    <warning>
     147      <para>If upgrading from a previos installation that used Berkely DB as
     148      the backend, you will need to dump the database(s) using the
     149      <command>slapcat</command> utility, relocate all files in
     150      <filename class="directory">/var/lib/openldap</filename>, change all
     151      instances of <option>bdb</option> to <option>mdb</option> in
     152      <filename>/etc/openldap/slapd.conf</filename> and any files in
     153      <filename class="directory">/etc/openldap/slapd.d</filename>, and import
     154      using the <command>slapadd</command> utility after the installation is
     155      completed.
     156      </para>
     157    </warning>
    145158
    146159    <para>
     
    183196            --disable-bdb         \
    184197            --disable-hdb         \
    185             --enable-overlays=mod \
     198            --enable-overlays=mod &amp;&amp;
    186199
    187200make depend &amp;&amp;
     
    199212<screen role="root"><userinput>make install &amp;&amp;
    200213
    201 chmod -v 700 /var/lib/openldap                                         &amp;&amp;
    202 chown -v -R ldap:ldap /var/lib/openldap                                &amp;&amp;
    203 chmod -v 640 /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example}       &amp;&amp;
    204 chown -v root:ldap /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} &amp;&amp;
    205 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d                &amp;&amp;
    206 
    207 install -v -dm755  /usr/share/doc/openldap-&openldap-version; &amp;&amp;
    208 cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; &amp;&amp;
    209 cp -vfr doc/rfc    /usr/share/doc/openldap-&openldap-version; &amp;&amp;
     214chmod -v 700 /var/lib/openldap                          &amp;&amp;
     215chown -v -R ldap:ldap /var/lib/openldap                 &amp;&amp;
     216chmod -v 640 /etc/openldap/slapd.{conf,ldif}            &amp;&amp;
     217chown -v root:ldap /etc/openldap/slapd.{conf,ldif}      &amp;&amp;
     218sed 's@bdb@mdb@g' -i /etc/openldap/slapd.conf           &amp;&amp;
     219install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d &amp;&amp;
     220
     221install -v -dm755  /usr/share/doc/openldap-&openldap-version;  &amp;&amp;
     222cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version;  &amp;&amp;
     223cp -vfr doc/rfc    /usr/share/doc/openldap-&openldap-version;  &amp;&amp;
    210224cp -vfr doc/guide  /usr/share/doc/openldap-&openldap-version;</userinput></screen>
    211225
     
    293307      SLPv2 support. Use it if you have installed
    294308      <ulink url="http://www.openslp.org/">OpenSLP</ulink>.
     309    </para>
     310 
     311    <para>
     312      <command>sed 's@bdb@mdb@g' -i /etc/openldap/slapd.conf</command>: This
     313      command changes the default backend from the deprecated Berkely DB
     314      (which was not included in the available backends) to LMDB as is
     315      recommended by the OpenLDAP developers.
    295316    </para>
    296317
Note: See TracChangeset for help on using the changeset viewer.