- Timestamp:
- 03/26/2015 04:14:06 PM (9 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/openldap.xml
rf141376 rdefca61 118 118 <para> 119 119 If you only need to install the client side <command>ldap*</command> 120 binaries, corresponding man pages, libraries and header files (referred to121 as a <quote>client-only</quote> install), issue these122 commandsinstead 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): 123 123 </para> 124 124 … … 143 143 144 144 </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> 145 158 146 159 <para> … … 183 196 --disable-bdb \ 184 197 --disable-hdb \ 185 --enable-overlays=mod \198 --enable-overlays=mod && 186 199 187 200 make depend && … … 199 212 <screen role="root"><userinput>make install && 200 213 201 chmod -v 700 /var/lib/openldap && 202 chown -v -R ldap:ldap /var/lib/openldap && 203 chmod -v 640 /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} && 204 chown -v root:ldap /etc/openldap/{slapd.{conf,ldif},DB_CONFIG.example} && 205 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d && 206 207 install -v -dm755 /usr/share/doc/openldap-&openldap-version; && 208 cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; && 209 cp -vfr doc/rfc /usr/share/doc/openldap-&openldap-version; && 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} && 217 chown -v root:ldap /etc/openldap/slapd.{conf,ldif} && 218 sed 's@bdb@mdb@g' -i /etc/openldap/slapd.conf && 219 install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d && 220 221 install -v -dm755 /usr/share/doc/openldap-&openldap-version; && 222 cp -vfr doc/drafts /usr/share/doc/openldap-&openldap-version; && 223 cp -vfr doc/rfc /usr/share/doc/openldap-&openldap-version; && 210 224 cp -vfr doc/guide /usr/share/doc/openldap-&openldap-version;</userinput></screen> 211 225 … … 293 307 SLPv2 support. Use it if you have installed 294 308 <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. 295 316 </para> 296 317
Note:
See TracChangeset
for help on using the changeset viewer.