source: server/other/openldap.xml@ 957e8a3d

systemd-13485
Last change on this file since 957e8a3d was 51d044f, checked in by DJ Lucas <dj@…>, 9 years ago

Remainder of -systemd.xml cleanup.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16882 af4574ff-66df-0310-9fd7-8a98e5e911e0

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