Changeset ac38e9dc for server/other/openldap-systemd.xml
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/openldap-systemd.xml
r4a83293 rac38e9dc 9 9 <!ENTITY openldap-md5sum "423c1f23d2a0cb96b3e9baf7e9d7dda7"> 10 10 <!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)"> 13 13 ]> 14 14 … … 35 35 </para> 36 36 37 &lfs7 6_checked;37 &lfs77_checked; 38 38 39 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 76 76 <para> 77 77 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"/> 79 79 </para> 80 80 </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> -->93 81 </itemizedlist> 94 82 95 83 <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>101 84 102 85 <bridgehead renderas="sect4">Recommended</bridgehead> … … 108 91 <bridgehead renderas="sect4">Optional</bridgehead> 109 92 <para role="optional"> 93 <xref linkend="db"/> (not recommended by the 94 developers due to license incompatiblities), 110 95 <xref linkend="icu"/>, 111 96 <xref linkend="mariadb"/> or 112 97 <xref linkend="postgresql"/>, 113 < ulink url="http://www.openslp.org/">OpenSLP</ulink>,114 <xref linkend=" pth"/> and115 < xref linkend="unixodbc"/>98 <xref linkend="pth"/>, 99 <xref linkend="unixodbc"/> and 100 <ulink url="http://www.openslp.org/">OpenSLP</ulink> 116 101 </para> 117 102 … … 124 109 <title>Installation of OpenLDAP</title> 125 110 126 <!-- <important>127 <para>128 Without the following patch, the <application>Evolution</application>129 Exchange addressbook integration uses simple binds with cleartext130 passwords. If you are going to build131 <application>Evolution Data Server</application> with132 <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 138 111 <note> 139 112 <para> 140 113 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 && 147 patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch && 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 && 148 120 autoconf && 149 sed -i '/6.0.20/ a\\t__db_version_compat' configure && 121 150 122 ./configure --prefix=/usr \ 151 123 --sysconfdir=/etc \ … … 165 137 </note> 166 138 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 167 153 <para> 168 154 There should be a dedicated user and group to take control … … 181 167 </para> 182 168 183 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-blfs_paths-1.patch && 184 patch -Np1 -i ../openldap-&openldap-version;-symbol_versions-1.patch && 169 <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-consolidated-1.patch && 185 170 autoconf && 171 186 172 ./configure --prefix=/usr \ 187 173 --sysconfdir=/etc \ … … 197 183 --enable-backends=mod \ 198 184 --enable-overlays=mod \ 185 --disable-bdb \ 186 --disable-hdb \ 199 187 --disable-ndb \ 200 188 --disable-sql && … … 212 200 <screen role="root"><userinput>make install && 213 201 214 chmod -v 700 /var/lib/openldap && 215 chown -v -R ldap:ldap /var/lib/openldap && 216 chmod -v 640 /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} && 217 chown -v root:ldap /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} && 218 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d && 219 220 install -v -dm755 /usr/share/doc/openldap-&openldap-version; && 221 cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; && 222 cp -vfr doc/rfc /usr/share/doc/openldap-&openldap-version; && 223 cp -vfr doc/guide /usr/share/doc/openldap-&openldap-version;</userinput></screen> 202 install -v -dm700 -o ldap -g ldap /var/lib/openldap && 203 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d && 204 chmod -v 640 /etc/openldap/slapd.{conf,ldif} && 205 chown -v root:ldap /etc/openldap/slapd.{conf,ldif} && 206 207 install -v -dm755 /usr/share/doc/openldap-&openldap-version; && 208 cp -vfr doc/{drafts,rfc,guide} /usr/share/doc/openldap-&openldap-version;</userinput></screen> 224 209 225 210 <para> … … 282 267 283 268 <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> 284 277 <parameter>--disable-ndb</parameter>: This switch disables 285 278 <application>MySQL</application> NDB Cluster backend … … 376 369 <listitem> 377 370 <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"> 381 374 /usr/share/doc/openldap-&openldap-version;/guide/admin</filename>). 382 375 </para> … … 454 447 # 455 448 # LDAPv3 456 # base <> with scope base 449 # base <> with scope baseObject 457 450 # filter: (objectclass=*) 458 451 # requesting: namingContexts
Note:
See TracChangeset
for help on using the changeset viewer.