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