[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5c7dcead] | 7 | <!ENTITY openldap-download-http "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
|
---|
[12949fb] | 8 | <!ENTITY openldap-download-ftp "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-&openldap-version;.tgz">
|
---|
[6b7a631] | 9 | <!ENTITY openldap-md5sum "6b7229396b335dd5ab2d24841d7f4b53">
|
---|
[f934af8] | 10 | <!ENTITY openldap-size "6.2 MB">
|
---|
[6b7a631] | 11 | <!ENTITY openldap-buildsize "101 MB (client and server)">
|
---|
[d40dd18] | 12 | <!ENTITY openldap-time "0.4 SBU (client), 0.9 SBU (server)">
|
---|
[0931098] | 13 | ]>
|
---|
| 14 |
|
---|
[9a9a0fec] | 15 | <sect1 id="openldap" xreflabel="OpenLDAP-&openldap-version;">
|
---|
[814e53c] | 16 | <?dbhtml filename="openldap.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>OpenLDAP-&openldap-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="openldap">
|
---|
| 25 | <primary sortas="a-OpenLDAP">OpenLDAP</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to OpenLDAP</title>
|
---|
| 30 |
|
---|
[b5e36dd] | 31 | <para>
|
---|
| 32 | The <application>OpenLDAP</application> package provides an open
|
---|
| 33 | source implementation of the Lightweight Directory Access Protocol.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[9b8ff698] | 36 | &lfs112_checked;
|
---|
[814e53c] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[b5e36dd] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&openldap-download-http;"/>
|
---|
| 43 | </para>
|
---|
[814e53c] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[b5e36dd] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&openldap-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[814e53c] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[b5e36dd] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &openldap-md5sum;
|
---|
| 53 | </para>
|
---|
[814e53c] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[b5e36dd] | 56 | <para>
|
---|
| 57 | Download size: &openldap-size;
|
---|
| 58 | </para>
|
---|
[814e53c] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[b5e36dd] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &openldap-buildsize;
|
---|
| 63 | </para>
|
---|
[814e53c] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[b5e36dd] | 66 | <para>
|
---|
| 67 | Estimated build time: &openldap-time;
|
---|
| 68 | </para>
|
---|
[814e53c] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[6a604251] | 72 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[ba432fd] | 73 | <itemizedlist spacing="compact">
|
---|
| 74 | <listitem>
|
---|
[b5e36dd] | 75 | <para>
|
---|
| 76 | Required patch:
|
---|
[ec211399] | 77 | <ulink url="&patch-root;/openldap-&openldap-version;-consolidated-1.patch"/>
|
---|
[b5e36dd] | 78 | </para>
|
---|
[1ef8da9] | 79 | </listitem>
|
---|
[ba432fd] | 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[814e53c] | 82 | <bridgehead renderas="sect3">OpenLDAP Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[b5e36dd] | 85 | <para role="recommended">
|
---|
[8558044] | 86 | <xref linkend="cyrus-sasl"/>
|
---|
[b5e36dd] | 87 | </para>
|
---|
[814e53c] | 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b5e36dd] | 90 | <para role="optional">
|
---|
[2f1d148] | 91 | <xref linkend="gnutls"/>,
|
---|
[cedda6d2] | 92 | <xref linkend="pth"/>,
|
---|
| 93 | <xref linkend="unixodbc"/>,
|
---|
[ec06894] | 94 | <xref linkend="mariadb"/> or
|
---|
| 95 | <xref linkend="postgresql"/> or
|
---|
| 96 | <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[d40dd18] | 97 | <ulink url="http://www.openslp.org/">OpenSLP</ulink>,
|
---|
| 98 | <ulink url="https://docs.mongodb.com/manual/core/wiredtiger/">WiredTiger</ulink>, and
|
---|
[ef0d8f4] | 99 | <xref linkend="db"/> (for slapd, but deprecated)
|
---|
[b5e36dd] | 100 | </para>
|
---|
[814e53c] | 101 |
|
---|
[3cb0c57] | 102 | <para condition="html" role="usernotes">User Notes:
|
---|
[bc6e56d] | 103 | <ulink url="&blfs-wiki;/openldap"/>
|
---|
| 104 | </para>
|
---|
[814e53c] | 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="installation">
|
---|
| 108 | <title>Installation of OpenLDAP</title>
|
---|
| 109 |
|
---|
[12949fb] | 110 | <note>
|
---|
[b5e36dd] | 111 | <para>
|
---|
| 112 | If you only need to install the client side <command>ldap*</command>
|
---|
[defca61] | 113 | binaries, corresponding man pages, libraries and header files (referred
|
---|
| 114 | to as a <quote>client-only</quote> install), issue these commands
|
---|
| 115 | instead of the following ones (no test suite available):
|
---|
[b5e36dd] | 116 | </para>
|
---|
[12949fb] | 117 |
|
---|
[ec211399] | 118 | <screen role="nodump"><userinput>patch -Np1 -i ../openldap-&openldap-version;-consolidated-1.patch &&
|
---|
[439e942e] | 119 | autoconf &&
|
---|
[983db4c] | 120 |
|
---|
[d6da5da] | 121 | ./configure --prefix=/usr \
|
---|
[12949fb] | 122 | --sysconfdir=/etc \
|
---|
[9ef1b6ff] | 123 | --disable-static \
|
---|
[d6da5da] | 124 | --enable-dynamic \
|
---|
[8995282] | 125 | --enable-versioning=yes \
|
---|
[d6da5da] | 126 | --disable-debug \
|
---|
| 127 | --disable-slapd &&
|
---|
[f6d40b7d] | 128 |
|
---|
[d6da5da] | 129 | make depend &&
|
---|
[c612fc3] | 130 | make</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | Then, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
| 135 |
|
---|
[fbe35773] | 136 | <screen role="nodump"><userinput>make install</userinput></screen>
|
---|
[9ef1b6ff] | 137 |
|
---|
[12949fb] | 138 | </note>
|
---|
[ec06894] | 139 |
|
---|
[b194f2b] | 140 | <para>
|
---|
| 141 | There should be a dedicated user and group to take control
|
---|
| 142 | of the <command>slapd</command> daemon after it is
|
---|
| 143 | started. Issue the following commands as the
|
---|
| 144 | <systemitem class="username">root</systemitem> user:
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
| 147 | <screen role="root"><userinput>groupadd -g 83 ldap &&
|
---|
[68d5b0e] | 148 | useradd -c "OpenLDAP Daemon Owner" \
|
---|
| 149 | -d /var/lib/openldap -u 83 \
|
---|
| 150 | -g ldap -s /bin/false ldap</userinput></screen>
|
---|
[b194f2b] | 151 |
|
---|
[b5e36dd] | 152 | <para>
|
---|
| 153 | Install <application>OpenLDAP</application> by
|
---|
| 154 | running the following commands:
|
---|
| 155 | </para>
|
---|
[814e53c] | 156 |
|
---|
[ec211399] | 157 | <screen><userinput>patch -Np1 -i ../openldap-&openldap-version;-consolidated-1.patch &&
|
---|
[439e942e] | 158 | autoconf &&
|
---|
[983db4c] | 159 |
|
---|
[d6da5da] | 160 | ./configure --prefix=/usr \
|
---|
| 161 | --sysconfdir=/etc \
|
---|
| 162 | --localstatedir=/var \
|
---|
[c00932a] | 163 | --libexecdir=/usr/lib \
|
---|
[d6da5da] | 164 | --disable-static \
|
---|
[8995282] | 165 | --enable-versioning=yes \
|
---|
[d6da5da] | 166 | --disable-debug \
|
---|
[2f1d148] | 167 | --with-tls=openssl \
|
---|
[fcee45b] | 168 | --with-cyrus-sasl \
|
---|
[d6da5da] | 169 | --enable-dynamic \
|
---|
| 170 | --enable-crypt \
|
---|
| 171 | --enable-spasswd \
|
---|
[fcee45b] | 172 | --enable-slapd \
|
---|
[d6da5da] | 173 | --enable-modules \
|
---|
[f7841987] | 174 | --enable-rlookups \
|
---|
[c00932a] | 175 | --enable-backends=mod \
|
---|
[fcee45b] | 176 | --disable-sql \
|
---|
[8b533c84] | 177 | --disable-wt \
|
---|
[defca61] | 178 | --enable-overlays=mod &&
|
---|
[fcee45b] | 179 |
|
---|
[0931098] | 180 | make depend &&
|
---|
[d9091faa] | 181 | make</userinput></screen>
|
---|
| 182 |
|
---|
[b5e36dd] | 183 | <para>
|
---|
[9266f172] | 184 | The tests appear to be fragile. Errors may cause the tests to abort
|
---|
[ec06894] | 185 | prior to finishing, apparently due to timing issues. The tests
|
---|
[9266f172] | 186 | take about 65 minutes and are processor independent.
|
---|
[ec06894] | 187 | To test the results, issue: <command>make test</command>.
|
---|
[b5e36dd] | 188 | </para>
|
---|
[814e53c] | 189 |
|
---|
[b5e36dd] | 190 | <para>
|
---|
| 191 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 192 | </para>
|
---|
[814e53c] | 193 |
|
---|
| 194 | <screen role="root"><userinput>make install &&
|
---|
[0c74155e] | 195 |
|
---|
[e087139] | 196 | sed -e "s/\.la/.so/" -i /etc/openldap/slapd.{conf,ldif}{,.default} &&
|
---|
| 197 |
|
---|
[6b52571] | 198 | install -v -dm700 -o ldap -g ldap /var/lib/openldap &&
|
---|
[f6d40b7d] | 199 |
|
---|
[defca61] | 200 | install -v -dm700 -o ldap -g ldap /etc/openldap/slapd.d &&
|
---|
[68d5b0e] | 201 | chmod -v 640 /etc/openldap/slapd.{conf,ldif} &&
|
---|
| 202 | chown -v root:ldap /etc/openldap/slapd.{conf,ldif} &&
|
---|
[b194f2b] | 203 |
|
---|
[68d5b0e] | 204 | install -v -dm755 /usr/share/doc/openldap-&openldap-version; &&
|
---|
| 205 | cp -vfr doc/{drafts,rfc,guide} \
|
---|
| 206 | /usr/share/doc/openldap-&openldap-version;</userinput></screen>
|
---|
[117309d] | 207 |
|
---|
[814e53c] | 208 | </sect2>
|
---|
| 209 |
|
---|
| 210 | <sect2 role="commands">
|
---|
| 211 | <title>Command Explanations</title>
|
---|
| 212 |
|
---|
[c00932a] | 213 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[b5e36dd] | 214 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 215 |
|
---|
| 216 | <para>
|
---|
[9ef1b6ff] | 217 | <parameter>--disable-debug</parameter>: This switch disables
|
---|
[b5e36dd] | 218 | the debugging code in <application>OpenLDAP</application>.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
[9ef1b6ff] | 222 | <parameter>--enable-dynamic</parameter>: This switch forces the
|
---|
[b5e36dd] | 223 | <application>OpenLDAP</application> libraries to be dynamically
|
---|
| 224 | linked to the executable programs.
|
---|
| 225 | </para>
|
---|
| 226 |
|
---|
[8b533c84] | 227 | <para>
|
---|
[8558044] | 228 | <parameter>--enable-versioning</parameter>: This switch enables
|
---|
[8b533c84] | 229 | symbol versioning in the <application>OpenLDAP</application> libraries.
|
---|
[8558044] | 230 | Without this, some applications might generate a warning about missing symbol versions.
|
---|
[8b533c84] | 231 | </para>
|
---|
| 232 |
|
---|
[b5e36dd] | 233 | <para>
|
---|
[972906e] | 234 | <parameter>--enable-crypt</parameter>: This switch enables using
|
---|
[b5e36dd] | 235 | <command>crypt(3)</command> passwords.
|
---|
| 236 | </para>
|
---|
| 237 |
|
---|
| 238 | <para>
|
---|
[9ef1b6ff] | 239 | <parameter>--enable-spasswd</parameter>: This switch enables
|
---|
[d6da5da] | 240 | <application>SASL</application> password verification.
|
---|
| 241 | </para>
|
---|
| 242 |
|
---|
| 243 | <para>
|
---|
[9ef1b6ff] | 244 | <parameter>--enable-modules</parameter>: This switch enables dynamic
|
---|
[b5e36dd] | 245 | module support.
|
---|
| 246 | </para>
|
---|
| 247 |
|
---|
| 248 | <para>
|
---|
[9ef1b6ff] | 249 | <parameter>--enable-rlookups</parameter>: This switch enables
|
---|
[b5e36dd] | 250 | reverse lookups of client hostnames.
|
---|
| 251 | </para>
|
---|
| 252 |
|
---|
| 253 | <para>
|
---|
[9ef1b6ff] | 254 | <parameter>--enable-backends</parameter>: This switch enables
|
---|
[b5e36dd] | 255 | all available backends.
|
---|
| 256 | </para>
|
---|
| 257 |
|
---|
| 258 | <para>
|
---|
[9ef1b6ff] | 259 | <parameter>--enable-overlays</parameter>: This switch enables
|
---|
[b5e36dd] | 260 | all available overlays.
|
---|
| 261 | </para>
|
---|
| 262 |
|
---|
[6b7a631] | 263 | <!--
|
---|
[b5e36dd] | 264 | <para>
|
---|
[6b7a631] | 265 | <parameter>- -disable-ndb</parameter>: This switch disables
|
---|
[0d7900a] | 266 | <application>MySQL</application> NDB Cluster backend
|
---|
[b5e36dd] | 267 | which causes configure to fail if
|
---|
| 268 | <application>MySQL</application> is present.
|
---|
| 269 | </para>
|
---|
[6b7a631] | 270 | -->
|
---|
[b5e36dd] | 271 |
|
---|
| 272 | <para>
|
---|
[9ef1b6ff] | 273 | <parameter>--disable-sql</parameter>: This switch explicitly
|
---|
[b5e36dd] | 274 | disables the SQL backend. Omit this switch if a SQL server is
|
---|
| 275 | installed and you are going to use a SQL backend.
|
---|
| 276 | </para>
|
---|
| 277 |
|
---|
[8b533c84] | 278 | <para>
|
---|
| 279 | <parameter>--disable-wt</parameter>: This switch explicitly
|
---|
| 280 | disables the WiredTiger backend. Omit this switch if WiredTiger is
|
---|
| 281 | installed and you are going to use a WiredTiger backend.
|
---|
| 282 | </para>
|
---|
| 283 |
|
---|
[67bd7d46] | 284 | <para>
|
---|
| 285 | <parameter>--libexecdir=/usr/lib</parameter>: This switch controls where
|
---|
| 286 | the <filename class="directory">/usr/lib/openldap</filename> directory is
|
---|
| 287 | installed. Everything in that directory is a library, so it belongs under
|
---|
| 288 | <filename class="directory">/usr/lib</filename> instead of
|
---|
| 289 | <filename class="directory">/usr/libexec</filename>.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
[b5e36dd] | 292 | <para>
|
---|
[d6da5da] | 293 | <option>--enable-slp</option>: This switch enables
|
---|
| 294 | SLPv2 support. Use it if you have installed
|
---|
[b5e36dd] | 295 | <ulink url="http://www.openslp.org/">OpenSLP</ulink>.
|
---|
| 296 | </para>
|
---|
[ec06894] | 297 |
|
---|
[516a4acd] | 298 | <note>
|
---|
[b5e36dd] | 299 | <para>
|
---|
| 300 | You can run <command>./configure --help</command> to see if there
|
---|
[d6da5da] | 301 | are other switch you can pass to the <command>configure</command>
|
---|
[b5e36dd] | 302 | command to enable other options or dependency packages.
|
---|
| 303 | </para>
|
---|
[516a4acd] | 304 | </note>
|
---|
| 305 |
|
---|
[6b52571] | 306 | <para>
|
---|
| 307 | <command>install ...</command>, <command>chown ...</command>,
|
---|
| 308 | and <command>chmod ...</command>:
|
---|
| 309 | Having slapd configuration files and ldap databases in /var/lib/openldap
|
---|
| 310 | readable by anyone is a SECURITY ISSUE, especially since a file stores the
|
---|
| 311 | admin password in PLAIN TEXT. That's why mode 640 and root:ldap ownership
|
---|
| 312 | were used. The owner is root, so only root can modify the file, and group is
|
---|
| 313 | ldap, so that the group which owns slapd daemon could read but not modify
|
---|
[ec06894] | 314 | the file in case of a security breach.
|
---|
[6b52571] | 315 | </para>
|
---|
| 316 |
|
---|
[814e53c] | 317 | </sect2>
|
---|
| 318 |
|
---|
| 319 | <sect2 role="configuration">
|
---|
| 320 | <title>Configuring OpenLDAP</title>
|
---|
| 321 |
|
---|
| 322 | <sect3 id="openldap-config">
|
---|
| 323 | <title>Config Files</title>
|
---|
| 324 |
|
---|
[3a58850] | 325 | <itemizedlist spacing="compact">
|
---|
| 326 | <listitem>
|
---|
| 327 | <para>
|
---|
| 328 | For LDAP client: <filename>/etc/openldap/ldap.conf</filename> and
|
---|
| 329 | <filename>~/.ldaprc</filename>
|
---|
| 330 | </para>
|
---|
| 331 | </listitem>
|
---|
| 332 | <listitem>
|
---|
| 333 | <para>
|
---|
| 334 | For LDAP server, two configuration mechanisms are used:
|
---|
| 335 | a legacy <filename>/etc/openldap/slapd.conf</filename>
|
---|
| 336 | configuration file and the recommended
|
---|
| 337 | <emphasis>slapd-config</emphasis> system, using an LDIF database
|
---|
| 338 | stored in
|
---|
| 339 | <filename class="directory">/etc/openldap/slapd.d</filename>.
|
---|
| 340 | </para>
|
---|
| 341 | </listitem>
|
---|
| 342 | </itemizedlist>
|
---|
[814e53c] | 343 |
|
---|
| 344 | <indexterm zone="openldap openldap-config">
|
---|
[3a58850] | 345 | <primary
|
---|
| 346 | sortas="e-etc-openldap-ldap.conf">/etc/openldap/ldap.conf</primary>
|
---|
| 347 | </indexterm>
|
---|
| 348 |
|
---|
| 349 | <indexterm zone="openldap openldap-config">
|
---|
| 350 | <primary sortas="e-AA.ldaprc">~/.ldaprc</primary>
|
---|
| 351 | </indexterm>
|
---|
| 352 |
|
---|
| 353 | <indexterm zone="openldap openldap-config">
|
---|
| 354 | <primary
|
---|
| 355 | sortas="e-etc-openldap-slapd.conf">/etc/openldap/slapd.conf</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 |
|
---|
| 358 | <indexterm zone="openldap openldap-config">
|
---|
| 359 | <primary
|
---|
| 360 | sortas="e-etc-openldap-slapd.d">/etc/openldap/slapd.d/*</primary>
|
---|
[814e53c] | 361 | </indexterm>
|
---|
| 362 |
|
---|
| 363 | </sect3>
|
---|
| 364 |
|
---|
| 365 | <sect3>
|
---|
| 366 | <title>Configuration Information</title>
|
---|
| 367 |
|
---|
[b5e36dd] | 368 | <para>
|
---|
| 369 | Configuring the <command>slapd</command> servers can be complex.
|
---|
| 370 | Securing the LDAP directory, especially if you are storing non-public
|
---|
[3a58850] | 371 | data such as password databases, can also be a challenging task. In
|
---|
| 372 | order to set up <application>OpenLDAP</application>, you'll need to
|
---|
[8558044] | 373 | modify either the <filename>/etc/openldap/slapd.conf</filename>
|
---|
[3a58850] | 374 | file (old method), or the <filename>/etc/openldap/slapd.ldif</filename>
|
---|
[de18f82e] | 375 | file and then use <command>ldapadd</command> to create the LDAP
|
---|
[3a58850] | 376 | configuration database in
|
---|
| 377 | <filename class="directory">/etc/openldap/slapd.d</filename>
|
---|
| 378 | (recommended by the OpenLDAP documentation).
|
---|
| 379 | </para>
|
---|
[6f3460d2] | 380 | <!--
|
---|
[3a58850] | 381 | <para>
|
---|
| 382 | The shipped configuration files suppose the loadable modules are
|
---|
| 383 | installed with their <filename class="extension">.la</filename>
|
---|
| 384 | files, which may not be true if you remove those files as instructed
|
---|
| 385 | in <xref linkend="libtool"/>. If this is the case, issue, as the
|
---|
| 386 | <systemitem class="username">root</systemitem> user:
|
---|
[b5e36dd] | 387 | </para>
|
---|
[814e53c] | 388 |
|
---|
[085689e] | 389 | <screen role="root"><userinput>sed 's/\.la$/.so/' -i /etc/openldap/slapd.{conf,ldif}{,.default}</userinput></screen>
|
---|
[6f3460d2] | 390 | -->
|
---|
[2bd7e513] | 391 | <warning>
|
---|
[d9a02fd] | 392 | <para>
|
---|
| 393 | The instructions above install an empty LDAP structure and a default
|
---|
| 394 | <filename>/etc/openldap/slapd.conf</filename> file, which are
|
---|
| 395 | suitable for testing the build and other packages using LDAP. Do not
|
---|
| 396 | use them on a production server.
|
---|
| 397 | </para>
|
---|
[2bd7e513] | 398 | </warning>
|
---|
[814e53c] | 399 |
|
---|
[bc6e56d] | 400 | <para>
|
---|
| 401 | Resources to assist you with topics such as choosing a directory
|
---|
[3a58850] | 402 | configuration, backend and database definitions, access control
|
---|
| 403 | settings, running as a user other than
|
---|
| 404 | <systemitem class="username">root</systemitem>
|
---|
[bc6e56d] | 405 | and setting a <command>chroot</command> environment include:
|
---|
| 406 | </para>
|
---|
[814e53c] | 407 |
|
---|
[d6da5da] | 408 | <itemizedlist spacing="compact">
|
---|
[814e53c] | 409 | <listitem>
|
---|
[b5e36dd] | 410 | <para>
|
---|
[3a58850] | 411 | The <emphasis role="strong">slapd(8)</emphasis> man page.
|
---|
[b5e36dd] | 412 | </para>
|
---|
[814e53c] | 413 | </listitem>
|
---|
| 414 | <listitem>
|
---|
[b5e36dd] | 415 | <para>
|
---|
[3a58850] | 416 | The <emphasis role="strong">slapd.conf(5)</emphasis> and
|
---|
| 417 | <emphasis role="strong">slapd-config(5)</emphasis> man pages.
|
---|
[b5e36dd] | 418 | </para>
|
---|
[814e53c] | 419 | </listitem>
|
---|
| 420 | <listitem>
|
---|
[b5e36dd] | 421 | <para>
|
---|
[b0c28cf] | 422 | The <ulink url="https://www.openldap.org/doc/admin26/"> OpenLDAP 2.6
|
---|
[ec06894] | 423 | Administrator's Guide</ulink> (also installed locally in
|
---|
[3a58850] | 424 | <filename class="directory">
|
---|
[b5e36dd] | 425 | /usr/share/doc/openldap-&openldap-version;/guide/admin</filename>).
|
---|
| 426 | </para>
|
---|
[814e53c] | 427 | </listitem>
|
---|
| 428 | <listitem>
|
---|
[b5e36dd] | 429 | <para>
|
---|
| 430 | Documents located at
|
---|
| 431 | <ulink url="http://www.openldap.org/pub/"/>.
|
---|
| 432 | </para>
|
---|
[814e53c] | 433 | </listitem>
|
---|
| 434 | </itemizedlist>
|
---|
| 435 |
|
---|
| 436 | </sect3>
|
---|
| 437 |
|
---|
[de18f82e] | 438 | <!--
|
---|
[814e53c] | 439 | <sect3>
|
---|
| 440 | <title>Mozilla Address Directory</title>
|
---|
| 441 |
|
---|
[b5e36dd] | 442 | <para>
|
---|
| 443 | By default, LDAPv2 support is disabled in the
|
---|
| 444 | <filename>slapd.conf</filename> file. Once the database is properly
|
---|
| 445 | set up and <application>Mozilla</application> is configured to use the
|
---|
| 446 | directory, you must add <option>allow bind_v2</option> to the
|
---|
| 447 | <filename>slapd.conf</filename> file.
|
---|
| 448 | </para>
|
---|
[814e53c] | 449 |
|
---|
| 450 | </sect3>
|
---|
[de18f82e] | 451 | -->
|
---|
[814e53c] | 452 |
|
---|
| 453 | <sect3 id="openldap-init">
|
---|
[1258125] | 454 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 455 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[814e53c] | 456 |
|
---|
[b5e36dd] | 457 | <para>
|
---|
| 458 | To automate the startup of the LDAP server at system bootup,
|
---|
[1258125] | 459 | install the
|
---|
| 460 | <phrase revision="sysv"><filename>/etc/rc.d/init.d/slapd</filename>
|
---|
| 461 | init script</phrase>
|
---|
| 462 | <phrase revision="systemd"><filename>slapd.service</filename>
|
---|
| 463 | unit</phrase> included in the
|
---|
| 464 | <xref linkend="bootscripts" revision="sysv"/>
|
---|
| 465 | <xref linkend="systemd-units" revision="systemd"/>
|
---|
| 466 | package using the following command:
|
---|
[b5e36dd] | 467 | </para>
|
---|
[814e53c] | 468 |
|
---|
| 469 | <indexterm zone="openldap openldap-init">
|
---|
[d9d26317] | 470 | <primary sortas="f-slapd">slapd</primary>
|
---|
[814e53c] | 471 | </indexterm>
|
---|
| 472 |
|
---|
[d9d26317] | 473 | <screen role="root"><userinput>make install-slapd</userinput></screen>
|
---|
[814e53c] | 474 |
|
---|
| 475 | <note>
|
---|
[b5e36dd] | 476 | <para>
|
---|
[2bd7e513] | 477 | You'll need to modify
|
---|
[1258125] | 478 | <phrase revision="sysv"><filename>/etc/sysconfig/slapd</filename></phrase>
|
---|
| 479 | <phrase revision="systemd"><filename>/etc/default/slapd</filename></phrase>
|
---|
| 480 | to include the parameters needed for your specific configuration. See
|
---|
| 481 | the <command>slapd</command> man page for parameter information.
|
---|
[b5e36dd] | 482 | </para>
|
---|
[814e53c] | 483 | </note>
|
---|
| 484 |
|
---|
| 485 | </sect3>
|
---|
| 486 |
|
---|
| 487 | <sect3>
|
---|
| 488 | <title>Testing the Configuration</title>
|
---|
| 489 |
|
---|
[b5e36dd] | 490 | <para>
|
---|
[1258125] | 491 | Start the LDAP server using
|
---|
| 492 | <phrase revision="sysv">the init script:</phrase>
|
---|
| 493 | <phrase revision="systemd">systemctl:</phrase>
|
---|
[b5e36dd] | 494 | </para>
|
---|
[814e53c] | 495 |
|
---|
[1258125] | 496 | <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/slapd start</userinput></screen>
|
---|
| 497 |
|
---|
| 498 | <screen role="root" revision="systemd"><userinput>systemctl start slapd</userinput></screen>
|
---|
[814e53c] | 499 |
|
---|
[b5e36dd] | 500 | <para>
|
---|
| 501 | Verify access to the LDAP server with the following command:
|
---|
| 502 | </para>
|
---|
[814e53c] | 503 |
|
---|
| 504 | <screen><userinput>ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts</userinput></screen>
|
---|
| 505 |
|
---|
[b5e36dd] | 506 | <para>
|
---|
| 507 | The expected result is:
|
---|
| 508 | </para>
|
---|
[814e53c] | 509 |
|
---|
[0931098] | 510 | <screen><computeroutput># extended LDIF
|
---|
| 511 | #
|
---|
| 512 | # LDAPv3
|
---|
[6b52571] | 513 | # base <> with scope baseObject
|
---|
[0931098] | 514 | # filter: (objectclass=*)
|
---|
[814e53c] | 515 | # requesting: namingContexts
|
---|
[0931098] | 516 | #
|
---|
| 517 |
|
---|
| 518 | #
|
---|
| 519 | dn:
|
---|
| 520 | namingContexts: dc=my-domain,dc=com
|
---|
| 521 |
|
---|
| 522 | # search result
|
---|
| 523 | search: 2
|
---|
| 524 | result: 0 Success
|
---|
| 525 |
|
---|
| 526 | # numResponses: 2
|
---|
| 527 | # numEntries: 1</computeroutput></screen>
|
---|
| 528 |
|
---|
[814e53c] | 529 | </sect3>
|
---|
| 530 |
|
---|
| 531 | </sect2>
|
---|
| 532 |
|
---|
| 533 | <sect2 role="content">
|
---|
| 534 | <title>Contents</title>
|
---|
| 535 |
|
---|
| 536 | <segmentedlist>
|
---|
| 537 | <segtitle>Installed Programs</segtitle>
|
---|
| 538 | <segtitle>Installed Libraries</segtitle>
|
---|
| 539 | <segtitle>Installed Directories</segtitle>
|
---|
| 540 |
|
---|
| 541 | <seglistitem>
|
---|
[b5e36dd] | 542 | <seg>
|
---|
| 543 | ldapadd, ldapcompare, ldapdelete, ldapexop, ldapmodify, ldapmodrdn,
|
---|
[d40dd18] | 544 | ldappasswd, ldapsearch, ldapurl, ldapvc, ldapwhoami, slapacl, slapadd,
|
---|
| 545 | slapauth, slapcat, slapd, slapdn, slapindex, slapmodify, slappasswd,
|
---|
| 546 | slapschema, and slaptest
|
---|
[b5e36dd] | 547 | </seg>
|
---|
| 548 | <seg>
|
---|
[d40dd18] | 549 | liblber.so, libldap.so, and several under /usr/lib/openldap
|
---|
[b5e36dd] | 550 | </seg>
|
---|
| 551 | <seg>
|
---|
[52e175b] | 552 | /etc/openldap,
|
---|
| 553 | /{usr,var}/lib/openldap, and
|
---|
[68d5b0e] | 554 | /usr/share/doc/openldap-&openldap-version;
|
---|
[b5e36dd] | 555 | </seg>
|
---|
[814e53c] | 556 | </seglistitem>
|
---|
| 557 | </segmentedlist>
|
---|
| 558 |
|
---|
| 559 | <variablelist>
|
---|
| 560 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 561 | <?dbfo list-presentation="list"?>
|
---|
| 562 | <?dbhtml list-presentation="table"?>
|
---|
| 563 |
|
---|
| 564 | <varlistentry id="ldapadd">
|
---|
| 565 | <term><command>ldapadd</command></term>
|
---|
| 566 | <listitem>
|
---|
[b5e36dd] | 567 | <para>
|
---|
[4c24eb0a] | 568 | opens a connection to an LDAP server, binds and adds entries
|
---|
[b5e36dd] | 569 | </para>
|
---|
[814e53c] | 570 | <indexterm zone="openldap ldapadd">
|
---|
| 571 | <primary sortas="b-ldapadd">ldapadd</primary>
|
---|
| 572 | </indexterm>
|
---|
| 573 | </listitem>
|
---|
| 574 | </varlistentry>
|
---|
| 575 |
|
---|
| 576 | <varlistentry id="ldapcompare">
|
---|
| 577 | <term><command>ldapcompare</command></term>
|
---|
| 578 | <listitem>
|
---|
[b5e36dd] | 579 | <para>
|
---|
| 580 | opens a connection to an LDAP server, binds and performs
|
---|
[4c24eb0a] | 581 | a compare using specified parameters
|
---|
[b5e36dd] | 582 | </para>
|
---|
[814e53c] | 583 | <indexterm zone="openldap ldapcompare">
|
---|
| 584 | <primary sortas="b-ldapcompare">ldapcompare</primary>
|
---|
| 585 | </indexterm>
|
---|
| 586 | </listitem>
|
---|
| 587 | </varlistentry>
|
---|
| 588 |
|
---|
| 589 | <varlistentry id="ldapdelete">
|
---|
| 590 | <term><command>ldapdelete</command></term>
|
---|
| 591 | <listitem>
|
---|
[b5e36dd] | 592 | <para>
|
---|
| 593 | opens a connection to an LDAP server, binds and deletes
|
---|
[4c24eb0a] | 594 | one or more entries
|
---|
[b5e36dd] | 595 | </para>
|
---|
[814e53c] | 596 | <indexterm zone="openldap ldapdelete">
|
---|
| 597 | <primary sortas="b-ldapdelete">ldapdelete</primary>
|
---|
| 598 | </indexterm>
|
---|
| 599 | </listitem>
|
---|
| 600 | </varlistentry>
|
---|
| 601 |
|
---|
[c00932a] | 602 | <varlistentry id="ldapexop">
|
---|
| 603 | <term><command>ldapexop</command></term>
|
---|
| 604 | <listitem>
|
---|
[b5e36dd] | 605 | <para>
|
---|
[0d7900a] | 606 | issues the LDAP extended operation specified by
|
---|
[b5e36dd] | 607 | oid or one of the special keywords whoami,
|
---|
[4c24eb0a] | 608 | cancel, or refresh
|
---|
[b5e36dd] | 609 | </para>
|
---|
[c00932a] | 610 | <indexterm zone="openldap ldapexop">
|
---|
| 611 | <primary sortas="b-ldapexop">ldapexop</primary>
|
---|
| 612 | </indexterm>
|
---|
| 613 | </listitem>
|
---|
| 614 | </varlistentry>
|
---|
| 615 |
|
---|
[814e53c] | 616 | <varlistentry id="ldapmodify">
|
---|
| 617 | <term><command>ldapmodify</command></term>
|
---|
| 618 | <listitem>
|
---|
[b5e36dd] | 619 | <para>
|
---|
[4c24eb0a] | 620 | opens a connection to an LDAP server, binds and modifies entries
|
---|
[b5e36dd] | 621 | </para>
|
---|
[814e53c] | 622 | <indexterm zone="openldap ldapmodify">
|
---|
| 623 | <primary sortas="b-ldapmodify">ldapmodify</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | <varlistentry id="ldapmodrdn">
|
---|
| 629 | <term><command>ldapmodrdn</command></term>
|
---|
| 630 | <listitem>
|
---|
[b5e36dd] | 631 | <para>
|
---|
| 632 | opens a connection to an LDAP server, binds and modifies
|
---|
[4c24eb0a] | 633 | the RDN of entries
|
---|
[b5e36dd] | 634 | </para>
|
---|
[814e53c] | 635 | <indexterm zone="openldap ldapmodrdn">
|
---|
| 636 | <primary sortas="b-ldapmodrdn">ldapmodrdn</primary>
|
---|
| 637 | </indexterm>
|
---|
| 638 | </listitem>
|
---|
| 639 | </varlistentry>
|
---|
| 640 |
|
---|
| 641 | <varlistentry id="ldappasswd">
|
---|
| 642 | <term><command>ldappasswd</command></term>
|
---|
| 643 | <listitem>
|
---|
[b5e36dd] | 644 | <para>
|
---|
[4c24eb0a] | 645 | is a tool used to set the password of an LDAP user
|
---|
[b5e36dd] | 646 | </para>
|
---|
[814e53c] | 647 | <indexterm zone="openldap ldappasswd">
|
---|
| 648 | <primary sortas="b-ldappasswd">ldappasswd</primary>
|
---|
| 649 | </indexterm>
|
---|
| 650 | </listitem>
|
---|
| 651 | </varlistentry>
|
---|
| 652 |
|
---|
| 653 | <varlistentry id="ldapsearch">
|
---|
| 654 | <term><command>ldapsearch</command></term>
|
---|
| 655 | <listitem>
|
---|
[b5e36dd] | 656 | <para>
|
---|
| 657 | opens a connection to an LDAP server, binds and performs
|
---|
[4c24eb0a] | 658 | a search using specified parameters
|
---|
[b5e36dd] | 659 | </para>
|
---|
[814e53c] | 660 | <indexterm zone="openldap ldapsearch">
|
---|
| 661 | <primary sortas="b-ldapsearch">ldapsearch</primary>
|
---|
| 662 | </indexterm>
|
---|
| 663 | </listitem>
|
---|
| 664 | </varlistentry>
|
---|
| 665 |
|
---|
[c00932a] | 666 | <varlistentry id="ldapurl">
|
---|
| 667 | <term><command>ldapurl</command></term>
|
---|
| 668 | <listitem>
|
---|
[b5e36dd] | 669 | <para>
|
---|
[0d7900a] | 670 | is a command that allows to either compose or
|
---|
[4c24eb0a] | 671 | decompose LDAP URIs
|
---|
[b5e36dd] | 672 | </para>
|
---|
[c00932a] | 673 | <indexterm zone="openldap ldapurl">
|
---|
| 674 | <primary sortas="b-ldapurl">ldapurl</primary>
|
---|
| 675 | </indexterm>
|
---|
| 676 | </listitem>
|
---|
| 677 | </varlistentry>
|
---|
| 678 |
|
---|
[d40dd18] | 679 | <varlistentry id="ldapvc">
|
---|
| 680 | <term><command>ldapvc</command></term>
|
---|
| 681 | <listitem>
|
---|
| 682 | <para>
|
---|
| 683 | verifies LDAP credentials
|
---|
| 684 | </para>
|
---|
| 685 | <indexterm zone="openldap ldapvc">
|
---|
| 686 | <primary sortas="b-ldapvc">ldapvc</primary>
|
---|
| 687 | </indexterm>
|
---|
| 688 | </listitem>
|
---|
| 689 | </varlistentry>
|
---|
| 690 |
|
---|
[814e53c] | 691 | <varlistentry id="ldapwhoami">
|
---|
| 692 | <term><command>ldapwhoami</command></term>
|
---|
| 693 | <listitem>
|
---|
[b5e36dd] | 694 | <para>
|
---|
| 695 | opens a connection to an LDAP server, binds and displays
|
---|
[4c24eb0a] | 696 | whoami information
|
---|
[b5e36dd] | 697 | </para>
|
---|
[814e53c] | 698 | <indexterm zone="openldap ldapwhoami">
|
---|
| 699 | <primary sortas="b-ldapwhoami">ldapwhoami</primary>
|
---|
| 700 | </indexterm>
|
---|
| 701 | </listitem>
|
---|
| 702 | </varlistentry>
|
---|
| 703 |
|
---|
[c00932a] | 704 | <varlistentry id="slapacl">
|
---|
| 705 | <term><command>slapacl</command></term>
|
---|
| 706 | <listitem>
|
---|
[b5e36dd] | 707 | <para>
|
---|
[0d7900a] | 708 | is used to check the behavior of slapd by verifying
|
---|
| 709 | access to directory data according to the access control
|
---|
[4c24eb0a] | 710 | list directives defined in its configuration
|
---|
[b5e36dd] | 711 | </para>
|
---|
[c00932a] | 712 | <indexterm zone="openldap slapacl">
|
---|
| 713 | <primary sortas="b-slapacl">slapacl</primary>
|
---|
| 714 | </indexterm>
|
---|
| 715 | </listitem>
|
---|
| 716 | </varlistentry>
|
---|
| 717 |
|
---|
[814e53c] | 718 | <varlistentry id="slapadd">
|
---|
| 719 | <term><command>slapadd</command></term>
|
---|
| 720 | <listitem>
|
---|
[b5e36dd] | 721 | <para>
|
---|
| 722 | is used to add entries specified in LDAP Directory Interchange
|
---|
[4c24eb0a] | 723 | Format (LDIF) to an LDAP database
|
---|
[b5e36dd] | 724 | </para>
|
---|
[814e53c] | 725 | <indexterm zone="openldap slapadd">
|
---|
| 726 | <primary sortas="b-slapadd">slapadd</primary>
|
---|
| 727 | </indexterm>
|
---|
| 728 | </listitem>
|
---|
| 729 | </varlistentry>
|
---|
| 730 |
|
---|
[c00932a] | 731 | <varlistentry id="slapauth">
|
---|
| 732 | <term><command>slapauth</command></term>
|
---|
| 733 | <listitem>
|
---|
[b5e36dd] | 734 | <para>
|
---|
[0d7900a] | 735 | is used to check the behavior of the slapd
|
---|
[b5e36dd] | 736 | in mapping identities for authentication and
|
---|
[4c24eb0a] | 737 | authorization purposes, as specified in slapd.conf
|
---|
[b5e36dd] | 738 | </para>
|
---|
[c00932a] | 739 | <indexterm zone="openldap slapauth">
|
---|
| 740 | <primary sortas="b-slapauth">slapauth</primary>
|
---|
| 741 | </indexterm>
|
---|
| 742 | </listitem>
|
---|
| 743 | </varlistentry>
|
---|
| 744 |
|
---|
[814e53c] | 745 | <varlistentry id="slapcat">
|
---|
| 746 | <term><command>slapcat</command></term>
|
---|
| 747 | <listitem>
|
---|
[b5e36dd] | 748 | <para>
|
---|
| 749 | is used to generate an LDAP LDIF output based upon the
|
---|
[4c24eb0a] | 750 | contents of a slapd database
|
---|
[b5e36dd] | 751 | </para>
|
---|
[814e53c] | 752 | <indexterm zone="openldap slapcat">
|
---|
| 753 | <primary sortas="b-slapcat">slapcat</primary>
|
---|
| 754 | </indexterm>
|
---|
| 755 | </listitem>
|
---|
| 756 | </varlistentry>
|
---|
| 757 |
|
---|
| 758 | <varlistentry id="slapd">
|
---|
| 759 | <term><command>slapd</command></term>
|
---|
| 760 | <listitem>
|
---|
[b5e36dd] | 761 | <para>
|
---|
[4c24eb0a] | 762 | is the standalone LDAP server
|
---|
[b5e36dd] | 763 | </para>
|
---|
[814e53c] | 764 | <indexterm zone="openldap slapd">
|
---|
| 765 | <primary sortas="b-slapd">slapd</primary>
|
---|
| 766 | </indexterm>
|
---|
| 767 | </listitem>
|
---|
| 768 | </varlistentry>
|
---|
| 769 |
|
---|
| 770 | <varlistentry id="slapdn">
|
---|
| 771 | <term><command>slapdn</command></term>
|
---|
| 772 | <listitem>
|
---|
[b5e36dd] | 773 | <para>
|
---|
[4c24eb0a] | 774 | checks a list of string-represented DNs based on schema syntax
|
---|
[b5e36dd] | 775 | </para>
|
---|
[814e53c] | 776 | <indexterm zone="openldap slapdn">
|
---|
| 777 | <primary sortas="b-slapdn">slapdn</primary>
|
---|
| 778 | </indexterm>
|
---|
| 779 | </listitem>
|
---|
| 780 | </varlistentry>
|
---|
| 781 |
|
---|
| 782 | <varlistentry id="slapindex">
|
---|
| 783 | <term><command>slapindex</command></term>
|
---|
| 784 | <listitem>
|
---|
[b5e36dd] | 785 | <para>
|
---|
| 786 | is used to regenerate slapd indexes based upon the current
|
---|
[4c24eb0a] | 787 | contents of a database
|
---|
[b5e36dd] | 788 | </para>
|
---|
[814e53c] | 789 | <indexterm zone="openldap slapindex">
|
---|
| 790 | <primary sortas="b-slapindex">slapindex</primary>
|
---|
| 791 | </indexterm>
|
---|
| 792 | </listitem>
|
---|
| 793 | </varlistentry>
|
---|
| 794 |
|
---|
[d40dd18] | 795 | <varlistentry id="slapmodify">
|
---|
| 796 | <term><command>slapmodify</command></term>
|
---|
| 797 | <listitem>
|
---|
| 798 | <para>
|
---|
| 799 | modifies entries in a slapd database
|
---|
| 800 | </para>
|
---|
| 801 | <indexterm zone="openldap slapmodify">
|
---|
| 802 | <primary sortas="b-slapmodify">slapmodify</primary>
|
---|
| 803 | </indexterm>
|
---|
| 804 | </listitem>
|
---|
| 805 | </varlistentry>
|
---|
| 806 |
|
---|
[814e53c] | 807 | <varlistentry id="slappasswd">
|
---|
| 808 | <term><command>slappasswd</command></term>
|
---|
| 809 | <listitem>
|
---|
[b5e36dd] | 810 | <para>
|
---|
[4c24eb0a] | 811 | is an <application>OpenLDAP</application> password utility
|
---|
[b5e36dd] | 812 | </para>
|
---|
[814e53c] | 813 | <indexterm zone="openldap slappasswd">
|
---|
| 814 | <primary sortas="b-slappasswd">slappasswd</primary>
|
---|
| 815 | </indexterm>
|
---|
| 816 | </listitem>
|
---|
| 817 | </varlistentry>
|
---|
| 818 |
|
---|
[c00932a] | 819 | <varlistentry id="slapschema">
|
---|
| 820 | <term><command>slapschema</command></term>
|
---|
| 821 | <listitem>
|
---|
[b5e36dd] | 822 | <para>
|
---|
[0d7900a] | 823 | is used to check schema compliance of the contents
|
---|
[4c24eb0a] | 824 | of a slapd database
|
---|
[b5e36dd] | 825 | </para>
|
---|
[c00932a] | 826 | <indexterm zone="openldap slapschema">
|
---|
| 827 | <primary sortas="b-slapschema">slapschema</primary>
|
---|
| 828 | </indexterm>
|
---|
| 829 | </listitem>
|
---|
| 830 | </varlistentry>
|
---|
| 831 |
|
---|
[814e53c] | 832 | <varlistentry id="slaptest">
|
---|
| 833 | <term><command>slaptest</command></term>
|
---|
| 834 | <listitem>
|
---|
[b5e36dd] | 835 | <para>
|
---|
[4c24eb0a] | 836 | checks the sanity of the <filename>slapd.conf</filename> file
|
---|
[b5e36dd] | 837 | </para>
|
---|
[814e53c] | 838 | <indexterm zone="openldap slaptest">
|
---|
| 839 | <primary sortas="b-slaptest">slaptest</primary>
|
---|
| 840 | </indexterm>
|
---|
| 841 | </listitem>
|
---|
| 842 | </varlistentry>
|
---|
| 843 |
|
---|
| 844 | <varlistentry id="liblber">
|
---|
[d6da5da] | 845 | <term><filename class="libraryfile">liblber.so</filename></term>
|
---|
[814e53c] | 846 | <listitem>
|
---|
[b5e36dd] | 847 | <para>
|
---|
[1ef8da9] | 848 | is a set of Lightweight Basic Encoding Rules routines. These
|
---|
[b5e36dd] | 849 | routines are used by the LDAP library routines to encode and decode
|
---|
| 850 | LDAP protocol elements using the (slightly simplified) Basic
|
---|
| 851 | Encoding Rules defined by LDAP. They are not normally used directly
|
---|
| 852 | by an LDAP application program except in the handling of controls
|
---|
[4c24eb0a] | 853 | and extended operations
|
---|
[b5e36dd] | 854 | </para>
|
---|
[814e53c] | 855 | <indexterm zone="openldap liblber">
|
---|
[c00932a] | 856 | <primary sortas="c-liblber">liblber.so</primary>
|
---|
[814e53c] | 857 | </indexterm>
|
---|
| 858 | </listitem>
|
---|
| 859 | </varlistentry>
|
---|
| 860 |
|
---|
| 861 | <varlistentry id="libldap">
|
---|
[d6da5da] | 862 | <term><filename class="libraryfile">libldap.so</filename></term>
|
---|
[814e53c] | 863 | <listitem>
|
---|
[b5e36dd] | 864 | <para>
|
---|
| 865 | supports the LDAP programs and provide functionality for
|
---|
[4c24eb0a] | 866 | other programs interacting with LDAP
|
---|
[b5e36dd] | 867 | </para>
|
---|
[814e53c] | 868 | <indexterm zone="openldap libldap">
|
---|
[c00932a] | 869 | <primary sortas="c-libldap">libldap.so</primary>
|
---|
[814e53c] | 870 | </indexterm>
|
---|
| 871 | </listitem>
|
---|
| 872 | </varlistentry>
|
---|
| 873 |
|
---|
[d40dd18] | 874 | <!--
|
---|
[814e53c] | 875 | <varlistentry id="libldap_r">
|
---|
[d6da5da] | 876 | <term><filename class="libraryfile">libldap_r.so</filename></term>
|
---|
[814e53c] | 877 | <listitem>
|
---|
[b5e36dd] | 878 | <para>
|
---|
| 879 | contains the functions required by the LDAP programs to
|
---|
[4c24eb0a] | 880 | produce the results from LDAP requests
|
---|
[b5e36dd] | 881 | </para>
|
---|
[814e53c] | 882 | <indexterm zone="openldap libldap_r">
|
---|
[c00932a] | 883 | <primary sortas="c-libldap_r">libldap_r.so</primary>
|
---|
[814e53c] | 884 | </indexterm>
|
---|
| 885 | </listitem>
|
---|
| 886 | </varlistentry>
|
---|
[d40dd18] | 887 | -->
|
---|
[814e53c] | 888 |
|
---|
| 889 | </variablelist>
|
---|
| 890 |
|
---|
| 891 | </sect2>
|
---|
[9905a3c] | 892 |
|
---|
| 893 | </sect1>
|
---|