]> git.sur5r.net Git - openldap/blob - doc/man/man5/slapd-sql.5
minor naming cleanup; improvements to DN mapping layer; major docs update
[openldap] / doc / man / man5 / slapd-sql.5
1 .TH SLAPD-SQL 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" $OpenLDAP$
3 .SH NAME
4 slapd-sql \- SQL backend to slapd
5 .SH SYNOPSIS
6 ETCDIR/slapd.conf
7 .SH DESCRIPTION
8 The primary purpose of this
9 .BR slapd (8)
10 backend is to PRESENT information stored in some RDBMS as an LDAP subtree
11 without any programming (some SQL and maybe stored procedures can't be
12 considered programming, anyway ;).
13 .LP
14 That is, for example, when you (some ISP) have account information you
15 use in an RDBMS, and want to use modern solutions that expect such
16 information in LDAP (to authenticate users, make email lookups etc.).
17 Or you want to synchronize or distribute information between different
18 sites/applications that use RDBMSes and/or LDAP.
19 Or whatever else...
20 .LP
21 It is NOT designed as a general-purpose backend that uses RDBMS instead
22 of BerkeleyDB (as the standard BDB backend does), though it can be
23 used as such with several limitations.
24 You can take a look at
25 .B http://www.openldap.org/faq/index.cgi?file=378 
26 (OpenLDAP FAQ-O-Matic/General LDAP FAQ/Directories vs. conventional
27 databases) to find out more on this point.
28 .LP
29 The idea (detailed below) is to use some metainformation to translate
30 LDAP queries to SQL queries, leaving relational schema untouched, so
31 that old applications can continue using it without any
32 modifications.
33 This allows SQL and LDAP applications to inter-operate without
34 replication, and exchange data as needed.
35 .LP
36 The SQL backend is designed to be tunable to virtually any relational
37 schema without having to change source (through that metainformation
38 mentioned).
39 Also, it uses ODBC to connect to RDBMSes, and is highly configurable
40 for SQL dialects RDBMSes may use, so it may be used for integration
41 and distribution of data on different RDBMSes, OSes, hosts etc., in
42 other words, in highly heterogeneous environment.
43 .LP
44 This backend is \fIexperimental\fP.
45 .SH CONFIGURATION
46 These
47 .B slapd.conf
48 options apply to the SQL backend database, which means that 
49 they must follow a "database sql" line and come before any
50 subsequent "backend" or "database" lines.
51 Other database options not specific to this backend are described 
52 in the
53 .BR slapd.conf (5)
54 manual page.
55 .SH DATA SOURCE CONFIGURATION
56
57 .TP
58 .B dbname <datasource name>
59 The name of the ODBC datasource to use.
60 .LP
61 .B dbhost <hostname>
62 .br
63 .B dbpasswd <password>
64 .br
65 .B dbuser <username>
66 .RS
67 The three above options are generally unneeded, because this information
68 is taken from the datasource specified by the
69 .B dbname
70 directive.
71 They allow to override datasource settings.
72 Also, several RDBMS' drivers tend to require explicit passing of user/password,
73 even if those are given in datasource (Note:
74 .B dbhost
75 is currently ignored).
76 .RE
77 .SH SCOPING CONFIGURATION
78 These options specify SQL query templates for scoping searches.
79
80 .TP
81 .B subtree_cond <SQL expression>
82 Specifies a where-clause template used to form a subtree search condition
83 (dn="(.+,)?<dn>$").
84 It may differ from one SQL dialect to another (see samples).
85 By default, it is constructed based on the knowledge about
86 how to normalize DN values (e.g.
87 \fB"<upper_func>(ldap_entries.dn) LIKE CONCAT('%',?)"\fP).
88
89 .TP
90 .B children_cond <SQL expression>
91 Specifies a where-clause template used to form a children search condition
92 (dn=".+,<dn>$").
93 It may differ from one SQL dialect to another (see samples).
94 By default, it is constructed based on the knowledge about
95 how to normalize DN values (e.g.
96 \fB"<upper_func>(ldap_entries.dn) LIKE CONCAT('%,',?)"\fP).
97
98 .TP
99 .B use_subtree_shortcut { NO | yes }
100 Do not use the subtree condition when the searchBase is the database
101 suffix, and the scope is subtree; rather collect all entries.
102 .RE
103 .SH STAMEMENT CONFIGURATION
104 These options specify SQL query templates for loading schema mapping
105 metainformation, adding and deleting entries to ldap_entries, etc.
106 All these and subtree_cond should have the given default values.
107 For the current value it is recommended to look at the sources,
108 or in the log output when slapd starts with "-d 5" or greater.
109 Note that the parameter number and order must not be changed.
110
111 .TP
112 .B oc_query <SQL expression>
113 The query that is used to collect the objectClass mapping data
114 from table \fIldap_oc_mappings\fP; see "METAINFORMATION USED" for details.
115 The default is
116 \fB"SELECT id, name, keytbl, keycol, create_proc, delete_proc, expect_return
117 FROM ldap_oc_mappings"\fP.
118
119 .TP
120 .B at_query <SQL expression>
121 The query that is used to collect the attributeType mapping data
122 from table \fIldap_attr_mappings\fP; see "METAINFORMATION USED" for details.
123 The default is
124 \fB"SELECT name, sel_expr, from_tbls, join_where, add_proc, delete_proc,
125 param_order, expect_return FROM ldap_attr_mappings WHERE oc_map_id=?"\fP.
126
127 .TP
128 .B id_query <SQL expression>
129 The query that is used to map a DN to an entry
130 in table \fIldap_entries\fP; see "METAINFORMATION USED" for details.
131 The default is
132 \fB"SELECT id,keyval,oc_map_id,dn FROM ldap_entries WHERE <DN match expr>"\fP,
133 where \fB<DN match expr>\fP is constructed based on the knowledge about
134 how to normalize DN values (e.g. \fB"dn=?"\fP if no means to uppercase
135 strings are available; typically, \fB"<upper_func>(dn)=?"\fP
136 is used).
137
138 .TP
139 .B insentry_stmt <SQL expression>
140 The statement that is used to insert a new entry
141 in table \fIldap_entries\fP; see "METAINFORMATION USED" for details.
142 The default is
143 \fB"INSERT INTO ldap_entries (dn, oc_map_id, parent, keyval) VALUES
144 (?, ?, ?, ?)"\fP.
145
146 .TP
147 .B delentry_stmt <SQL expression>
148 The statement that is used to delete an existing entry
149 from table \fIldap_entries\fP; see "METAINFORMATION USED" for details.
150 The default is
151 \fB"DELETE FROM ldap_entries WHERE id=?"\fP.
152
153 .TP
154 .B delobjclasses_stmt <SQL expression>
155 The statement that is used to delete an existing entry's ID
156 from table \fIldap_objclasses\fP; see "METAINFORMATION USED" for details.
157 The default is
158 \fB""DELETE FROM ldap_entry_objclasses WHERE entry_id=?"\fP.
159
160 .TP
161 .B delreferrals_stmt <SQL expression>
162 The statement that is used to delete an existing entry's ID
163 from table \fIldap_referrals\fP; see "METAINFORMATION USED" for details.
164 The default is
165 \fB""DELETE FROM ldap_referrals WHERE entry_id=?"\fP.
166
167 .RE
168 .SH HELPER CONFIGURATION
169
170 .TP
171 .B upper_func <SQL function name>
172 Specifies the name of a function that converts a given value to uppercase.
173 This is used for case insensitive matching when the RDBMS is case sensitive.
174 It may differ from one SQL dialect to another (e.g. \fBUCASE\fP, \fBUPPER\fP
175 or whatever; see samples).  By default, none is used, i.e. strings are not
176 uppercased, so matches may be case sensitive.
177
178 .TP
179 .B upper_needs_cast { NO | yes }
180 Set this directive to 
181 .B yes
182 if 
183 .B upper_func
184 needs an explicit cast when applied to literal strings.
185 A cast in the form
186 .B CAST (<arg> AS VARCHAR(<max DN length>))
187 is used, where
188 .B <max DN length>
189 is builtin in back-sql; see macro
190 .B BACKSQL_MAX_DN_LEN
191 (currently 255; note that slapd's builtin limit, in macro
192 .BR SLAP_LDAPDN_MAXLEN ,
193 is set to 8192).
194 This is \fIexperimental\fP and may change in future releases.
195
196 .TP
197 .B concat_pattern <pattern>
198 This statement defines the
199 .B pattern 
200 that is used to concatenate strings.  The
201 .B pattern
202 MUST contain two question marks, '?', that will be replaced 
203 by the two strings that must be concatenated.  The default value is
204 .BR "CONCAT(?,?)";
205 a form that is known to be highly portable (IBM db2, PostgreSQL) is 
206 .BR "?||?",
207 but an explicit cast may be required when operating on literal strings:
208 .BR "CAST(?||? AS VARCHAR(<length>))".
209 On some RDBMSes (IBM db2, MSSQL) the form
210 .B "?+?"
211 is known to work as well.
212 Carefully check the documentation of your RDBMS or stay with the examples
213 for supported ones.
214 This is \fIexperimental\fP and may change in future releases.
215
216 .TP
217 .B strcast_func <SQL function name>
218 Specifies the name of a function that converts a given value to a string
219 for appropriate ordering.  This is used in "SELECT DISTINCT" statements
220 for strongly typed RDBMSes with little implicit casting (like PostgreSQL),
221 when a literal string is specified.
222 This is \fIexperimental\fP and may change in future releases.
223
224 .TP
225 .B has_ldapinfo_dn_ru { NO | yes }
226 Explicitly inform the backend whether the dn_ru column
227 (DN in reverse uppercased form) is present in table \fIldap_entries\fP.
228 Overrides automatic check (this is required, ofr instance,
229 by PostgreSQL/unixODBC).
230 This is \fIexperimental\fP and may change in future releases.
231
232 .TP
233 .B fail_if_no_mapping { NO | yes }
234 When set to
235 .B yes
236 it forces \fIattribute\fP write operations to fail if no appropriate
237 mapping between LDAP attributes and SQL data is available.
238 The default behavior is to ignore those changes that cannot be mapped.
239 It has no impact on objectClass mapping, i.e. if the
240 .I structuralObjectClass
241 of an entry cannot be mapped to SQL by looking up its name 
242 in ldap_oc_mappings, an 
243 .I add
244 operation will fail regardless of the
245 .B fail_if_no_mapping
246 switch; see section "METAINFORMATION USED" for details.
247 This is \fIexperimental\fP and may change in future releases.
248
249 .TP
250 .B allow_orphans { NO | yes }
251 When set to 
252 .B yes
253 orphaned entries (i.e. without the parent entry in the database)
254 can be added.  This option should be used with care, possibly 
255 in conjunction with some special rule on the RDBMS side that
256 dynamically creates the missing parent.
257
258 .TP
259 .B baseObject [filename]
260 Instructs the database to create and manage an in-memory baseObject
261 entry instead of looking for one in the RDBMS.
262 If the (optional) 
263 .B filename
264 argument is given, the entry is read from that file in
265 .BR LDIF (5)
266 form; otherwise, an entry with objectClass \fBextensibleObject\fP
267 is created based on the contents of the RDN of the \fIbaseObject\fP.
268 This is particularly useful when \fIldap_entries\fP
269 information is stored in a view rather than in a table, and 
270 .B union
271 is not supported for views, so that the view can only specify
272 one rule to compute the entry structure for one objectClass.
273 This topic is discussed further in section "METAINFORMATION USED".
274 This is \fIexperimental\fP and may change in future releases.
275
276 .TP
277 .B create_needs_select { NO | yes }
278 Instructs the database whether entry creation in table \fIldap_entries\fP
279 needs a subsequent select to collect the automatically assigned ID, 
280 instead of being returned by a stored procedure.
281
282 .TP
283 .B sqllayer <name> [...]
284 Loads the layer \fB<name>\fP onto a stack of helpers that are used 
285 to map DNs from LDAP to SQL representation and vice-versa.
286 Subsequent args are passed to the layer configuration routine.
287 This is \fIhighly experimental\fP and should be used with extreme care.
288 The API of the layers is not frozen yet, so it is unpublished.
289
290 .SH METAINFORMATION USED
291 .LP
292 Almost everything mentioned later is illustrated in examples located
293 in the
294 .B servers/slapd/back-sql/rdbms_depend/
295 directory in the OpenLDAP source tree, and contains scripts for
296 generating sample database for Oracle, MS SQL Server, mySQL and more
297 (including PostgreSQL and IBM db2).
298 .LP
299 The first thing that one must arrange is what set of LDAP
300 object classes can present your RDBMS information.
301 .LP
302 The easiest way is to create an objectClass for each entity you had in
303 ER-diagram when designing your relational schema.
304 Any relational schema, no matter how normalized it is, was designed
305 after some model of your application's domain (for instance, accounts,
306 services etc. in ISP), and is used in terms of its entities, not just
307 tables of normalized schema.
308 It means that for every attribute of every such instance there is an
309 effective SQL query that loads its values.
310 .LP
311 Also you might want your object classes to conform to some of the standard
312 schemas like inetOrgPerson etc.
313 .LP
314 Nevertheless, when you think it out, we must define a way to translate
315 LDAP operation requests to (a series of) SQL queries.
316 Let us deal with the SEARCH operation.
317 .LP
318 Example:
319 Let's suppose that we store information about persons working in our 
320 organization in two tables:
321 .LP
322 .nf
323   PERSONS              PHONES
324   ----------           -------------
325   id integer           id integer
326   first_name varchar   pers_id integer references persons(id)
327   last_name varchar    phone
328   middle_name varchar
329   ...
330 .fi
331 .LP
332 (PHONES contains telephone numbers associated with persons).
333 A person can have several numbers, then PHONES contains several
334 records with corresponding pers_id, or no numbers (and no records in
335 PHONES with such pers_id).
336 An LDAP objectclass to present such information could look like this:
337 .LP
338 .nf
339   person
340   -------
341   MUST cn
342   MAY telephoneNumber $ firstName $ lastName
343   ...
344 .fi
345 .LP
346 To fetch all values for cn attribute given person ID, we construct the
347 query:
348 .LP
349 .nf
350   SELECT CONCAT(persons.first_name,' ',persons.last_name)
351       AS cn FROM persons WHERE persons.id=?
352 .fi
353 .LP
354 for telephoneNumber we can use:
355 .LP
356 .nf
357   SELECT phones.phone AS telephoneNumber FROM persons,phones
358       WHERE persons.id=phones.pers_id AND persons.id=?
359 .fi
360 .LP
361 If we wanted to service LDAP requests with filters like
362 (telephoneNumber=123*), we would construct something like:
363 .LP
364 .nf
365   SELECT ... FROM persons,phones
366       WHERE persons.id=phones.pers_id
367           AND persons.id=?
368           AND phones.phone like '%1%2%3%'
369 .fi
370 .LP
371 (note how the telephoneNumber match is expanded in multiple wildcards
372 to account for interspersed ininfluential chars like spaces, dashes
373 and so; this occurs by design because telephoneNumber is defined after 
374 a specially recognized syntax).
375 So, if we had information about what tables contain values for each
376 attribute, how to join these tables and arrange these values, we could
377 try to automatically generate such statements, and translate search
378 filters to SQL WHERE clauses.
379 .LP
380 To store such information, we add three more tables to our schema
381 and fill it with data (see samples):
382 .LP
383 .nf
384   ldap_oc_mappings (some columns are not listed for clarity)
385   ---------------
386   id=1
387   name="person"
388   keytbl="persons"
389   keycol="id"
390 .fi
391 .LP
392 This table defines a mapping between objectclass (its name held in the
393 "name" column), and a table that holds the primary key for corresponding
394 entities.
395 For instance, in our example, the person entity, which we are trying
396 to present as "person" objectclass, resides in two tables (persons and
397 phones), and is identified by the persons.id column (that we will call
398 the primary key for this entity).
399 Keytbl and keycol thus contain "persons" (name of the table), and "id"
400 (name of the column).
401 .LP
402 .nf
403   ldap_attr_mappings (some columns are not listed for clarity)
404   -----------
405   id=1
406   oc_map_id=1
407   name="cn"
408   sel_expr="CONCAT(persons.first_name,' ',persons.last_name)"
409   from_tbls="persons"
410   join_where=NULL
411   ************
412   id=<n>
413   oc_map_id=1
414   name="telephoneNumber"
415   sel_expr="phones.phone"
416   from_tbls="persons,phones"
417   join_where="phones.pers_id=persons.id"
418 .fi
419 .LP
420 This table defines mappings between LDAP attributes and SQL queries
421 that load their values.
422 Note that, unlike LDAP schema, these are not
423 .B attribute types
424 - the attribute "cn" for "person" objectclass can
425 have its values in different tables than "cn" for some other objectclass,
426 so attribute mappings depend on objectclass mappings (unlike attribute
427 types in LDAP schema, which are indifferent to objectclasses).
428 Thus, we have oc_map_id column with link to oc_mappings table.
429 .LP
430 Now we cut the SQL query that loads values for a given attribute into 3 parts.
431 First goes into sel_expr column - this is the expression we had
432 between SELECT and FROM keywords, which defines WHAT to load.
433 Next is table list - text between FROM and WHERE keywords.
434 It may contain aliases for convenience (see examples).
435 The last is part of the where clause, which (if it exists at all) expresses the
436 condition for joining the table containing values with the table
437 containing the primary key (foreign key equality and such).
438 If values are in the same table as the primary key, then this column is
439 left NULL (as for cn attribute above).
440 .LP
441 Having this information in parts, we are able to not only construct
442 queries that load attribute values by id of entry (for this we could
443 store SQL query as a whole), but to construct queries that load id's
444 of objects that correspond to a given search filter (or at least part of
445 it).
446 See below for examples.
447 .LP
448 .nf
449   ldap_entries
450   ------------
451   id=1
452   dn=<dn you choose>
453   oc_map_id=...
454   parent=<parent record id>
455   keyval=<value of primary key>
456 .fi
457 .LP
458 This table defines mappings between DNs of entries in your LDAP tree,
459 and values of primary keys for corresponding relational data.
460 It has recursive structure (parent column references id column of the
461 same table), which allows you to add any tree structure(s) to your
462 flat relational data.
463 Having id of objectclass mapping, we can determine table and column
464 for primary key, and keyval stores value of it, thus defining the exact
465 tuple corresponding to the LDAP entry with this DN.
466 .LP
467 Note that such design (see exact SQL table creation query) implies one
468 important constraint - the key must be an integer.
469 But all that I know about well-designed schemas makes me think that it's
470 not very narrow ;) If anyone needs support for different types for
471 keys - he may want to write a patch, and submit it to OpenLDAP ITS,
472 then I'll include it.
473 .LP
474 Also, several people complained that they don't really need very
475 structured trees, and they don't want to update one more table every
476 time they add or delete an instance in the relational schema.
477 Those people can use a view instead of a real table for ldap_entries, something
478 like this (by Robin Elfrink):
479 .LP
480 .nf
481   CREATE VIEW ldap_entries (id, dn, oc_map_id, parent, keyval)
482       AS
483           SELECT 0, UPPER('o=MyCompany,c=NL'),
484               3, 0, 'baseObject' FROM unixusers WHERE userid='root'
485       UNION
486           SELECT (1000000000+userid),
487               UPPER(CONCAT(CONCAT('cn=',gecos),',o=MyCompany,c=NL')),
488               1, 0, userid FROM unixusers
489       UNION
490           SELECT (2000000000+groupnummer),
491               UPPER(CONCAT(CONCAT('cn=',groupnaam),',o=MyCompany,c=NL')),
492               2, 0, groupnummer FROM groups;
493 .fi
494
495 .LP
496 If your RDBMS does not support
497 .B unions
498 in views, only one objectClass can be mapped in
499 .BR ldap_entries ,
500 and the baseObject cannot be created; in this case, see the 
501 .B baseObject
502 directive for a possible workaround.
503
504 .LP
505 .SH Typical SQL backend operation
506 Having metainformation loaded, the SQL backend uses these tables to
507 determine a set of primary keys of candidates (depending on search
508 scope and filter).
509 It tries to do it for each objectclass registered in ldap_objclasses.
510 .LP
511 Example:
512 for our query with filter (telephoneNumber=123*) we would get the following 
513 query generated (which loads candidate IDs)
514 .LP
515 .nf
516   SELECT ldap_entries.id,persons.id, 'person' AS objectClass,
517          ldap_entries.dn AS dn
518     FROM ldap_entries,persons,phones
519    WHERE persons.id=ldap_entries.keyval
520      AND ldap_entries.objclass=?
521      AND ldap_entries.parent=?
522      AND phones.pers_id=persons.id
523      AND (phones.phone LIKE '%1%2%3%')
524 .fi
525 .LP
526 (for ONELEVEL search)
527 or "... AND dn=?" (for BASE search)
528 or "... AND dn LIKE '%?'" (for SUBTREE)
529 .LP
530 Then, for each candidate, we load the requested attributes using
531 per-attribute queries like
532 .LP
533 .nf
534   SELECT phones.phone AS telephoneNumber
535     FROM persons,phones
536    WHERE persons.id=? AND phones.pers_id=persons.id
537 .fi
538 .LP
539 Then, we use test_filter() from the frontend API to test the entry for a full
540 LDAP search filter match (since we cannot effectively make sense of
541 SYNTAX of corresponding LDAP schema attribute, we translate the filter
542 into the most relaxed SQL condition to filter candidates), and send it to
543 the user.
544 .LP
545 ADD, DELETE, MODIFY and MODRDN operations are also performed on per-attribute
546 metainformation (add_proc etc.).
547 In those fields one can specify an SQL statement or stored procedure
548 call which can add, or delete given values of a given attribute, using
549 the given entry keyval (see examples -- mostly PostgreSQL, ORACLE and MSSQL 
550 - since as of this writing there are no stored procs in MySQL).
551 .LP
552 We just add more columns to ldap_oc_mappings and ldap_attr_mappings, holding
553 statements to execute (like create_proc, add_proc, del_proc etc.), and
554 flags governing the order of parameters passed to those statements.
555 Please see samples to find out what are the parameters passed, and other
556 information on this matter - they are self-explanatory for those familiar
557 with the concepts expressed above.
558 .LP
559 .SH Common techniques (referrals, multiclassing etc.)
560 First of all, let's remember that among other major differences to the
561 complete LDAP data model, the concept above does not directly support
562 such things as multiple objectclasses per entry, and referrals.
563 Fortunately, they are easy to adopt in this scheme.
564 The SQL backend suggests two more tables being added to the schema -
565 ldap_entry_objectclasses(entry_id,oc_name), and
566 ldap_referrals(entry_id,url).
567 .LP
568 The first contains any number of objectclass names that corresponding
569 entries will be found by, in addition to that mentioned in
570 mapping.
571 The SQL backend automatically adds attribute mapping for the "objectclass"
572 attribute to each objectclass mapping that loads values from this table.
573 So, you may, for instance, have a mapping for inetOrgPerson, and use it
574 for queries for "person" objectclass...
575 .LP
576 The second table contains any number of referrals associated with a given entry.
577 The SQL backend automatically adds attribute mapping for "ref" attribute
578 to each objectclass mapping that loads values from this table.
579 So, if you add objectclass "referral" to this entry, and make one or
580 more tuples in ldap_referrals for this entry (they will be seen as
581 values of "ref" attribute), you will have slapd return a referral, as
582 described in the Administrators Guide.
583 .LP
584 .SH Caveats
585 As previously stated, this backend should not be considered
586 a replacement of other data storage backends, but rather a gateway
587 to existing RDBMS storages that need to be published in LDAP form.
588 .LP
589 The \fBhasSubordintes\fP operational attribute is honored by back-sql
590 in search results and in compare operations; it is partially honored
591 also in filtering.  Owing to design limitations, a (braindead?) filter
592 of the form
593 \fB(!(hasSubordinates=TRUE))\fP
594 will give no results instead of returning all the leaf entries, because
595 it actually expands into \fB... AND NOT (1=1)\fP.
596 If you need to find all the leaf entries, please use
597 \fB(hasSubordinates=FALSE)\fP
598 instead.
599 .LP
600 A directoryString value of the form "__First___Last_"
601 (where underscores should be replaced by spaces) corresponds
602 to its prettified counterpart "First_Last"; this is not currently
603 honored by back-sql if non-prettified data is written via RDBMS;
604 when non-prettified data is written thru back-sql, the prettified 
605 values are actually used instead.
606 .LP
607 .SH PROXY CACHE OVERLAY
608 The proxy cache overlay 
609 allows caching of LDAP search requests (queries) in a local database.
610 See 
611 .BR slapo-pcache (5)
612 for details.
613 .SH EXAMPLES
614 There are example SQL modules in the slapd/back-sql/rdbms_depend/
615 directory in the OpenLDAP source tree.
616 .SH FILES
617
618 .TP
619 ETCDIR/slapd.conf
620 default slapd configuration file
621 .SH SEE ALSO
622 .BR slapd.conf (5),
623 .BR slapd (8).