]> git.sur5r.net Git - openldap/blob - doc/man/man5/slapd.backends.5
d6e95546494ed889bd7122241c509d7c13cf3ca4
[openldap] / doc / man / man5 / slapd.backends.5
1 .TH SLAPD.BACKENDS 5 "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2006-2008 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .\" $OpenLDAP$
5 .SH NAME
6 slapd.backends \- backends for slapd, the stand-alone LDAP daemon
7 .SH DESCRIPTION
8 The
9 .BR slapd (8)
10 daemon can use a variety of different backends for serving LDAP requests.
11 Backends may be compiled statically into slapd, or when module support
12 is enabled, they may be dynamically loaded. Multiple instances of a
13 backend can be configured, to serve separate databases from the same
14 slapd server.
15
16
17 Configuration options for each backend are documented separately in the
18 corresponding
19 .BR slapd-<backend> (5)
20 manual pages.
21 .TP
22 .B bdb
23 This is the recommended primary backend for a normal slapd database.
24 It takes care to configure it properly.
25 It uses the transactional database interface of the Oracle Berkeley
26 DB (BDB) package to store data.
27 .TP
28 .B config
29 This backend is used to manage the configuration of slapd at run-time.
30 Unlike other backends, only a single instance of the
31 .B config
32 backend may be defined. It also instantiates itself automatically,
33 so it is always present even if not explicitly defined in the
34 .BR slapd.conf (5)
35 file.
36 .TP
37 .B dnssrv
38 This backend is experimental.
39 It serves up referrals based upon SRV resource records held in the
40 Domain Name System.
41 .TP
42 .B hdb
43 This is a variant of the
44 .B bdb
45 backend that uses a hierarchical database
46 layout. This layout stores entry DNs more efficiently than the
47 .B bdb
48 backend,
49 using less space and requiring less work to create, delete, and rename
50 entries. It is also one of the few backends to support subtree renames.
51 .TP
52 .B ldap
53 This backend acts as a proxy to forward incoming requests to another
54 LDAP server.
55 .TP
56 .B ldif
57 This database uses the filesystem to build the tree structure
58 of the database, using plain ascii files to store data.
59 Its usage should be limited to very simple databases, where performance
60 is not a requirement. This backend also supports subtree renames.
61 .TP
62 .B meta
63 This backend performs basic LDAP proxying with respect to a set of
64 remote LDAP servers. It is an enhancement of the
65 .B ldap
66 backend.
67 .TP
68 .B monitor
69 This backend provides information about the running status of the slapd
70 daemon. Only a single instance of the
71 .B monitor
72 backend may be defined.
73 .TP
74 .B ndb
75 This backend is experimental.
76 It uses the transactional database interface of the MySQL Cluster Engine
77 (NDB) to store data.
78 .TP
79 .B null
80 Operations in this backend succeed but do nothing.
81 .TP
82 .B passwd
83 This backend is provided for demonstration purposes only.
84 It serves up user account information from the system
85 .BR passwd (5)
86 file.
87 .TP
88 .B perl
89 This backend embeds a
90 .BR perl (1)
91 interpreter into slapd.
92 It runs Perl subroutines to implement LDAP operations.
93 .TP
94 .B relay
95 This backend is experimental.
96 It redirects LDAP operations to another database
97 in the same server, based on the naming context of the request.
98 Its use requires the 
99 .B rwm
100 overlay (see
101 .BR slapo-rwm (5)
102 for details) to rewrite the naming context of the request.
103 It is primarily intended to implement virtual views on databases
104 that actually store data.
105 .TP
106 .B shell
107 This backend executes external programs to implement LDAP operations.
108 It is primarily intended to be used in prototypes.
109 .TP
110 .B sql
111 This backend is experimental.
112 It services LDAP requests from an SQL database.
113 .SH FILES
114 .TP
115 ETCDIR/slapd.conf
116 default slapd configuration file
117 .TP
118 ETCDIR/slapd.d
119 default slapd configuration directory
120 .SH SEE ALSO
121 .BR ldap (3),
122 .BR slapd\-bdb (5),
123 .BR slapd\-config (5),
124 .BR slapd\-dnssrv (5),
125 .BR slapd\-hdb (5),
126 .BR slapd\-ldap (5),
127 .BR slapd\-ldif (5),
128 .BR slapd\-meta (5),
129 .BR slapd\-monitor (5),
130 .BR slapd\-null (5),
131 .BR slapd\-passwd (5),
132 .BR slapd\-perl (5),
133 .BR slapd\-relay (5),
134 .BR slapd\-shell (5),
135 .BR slapd\-sql (5),
136 .BR slapd.conf (5),
137 .BR slapd.overlays (5),
138 .BR slapd (8).
139 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
140 .SH ACKNOWLEDGEMENTS
141 .so ../Project