1SLAPD-NULL(5) File Formats Manual SLAPD-NULL(5)
2
3
4
6 slapd-null - Null backend to slapd
7
9 /etc/openldap/slapd.conf
10
12 The Null backend to slapd(8) is surely the most useful part of slapd:
13 - Searches return success but no entries.
14 - Compares return compareFalse.
15 - Updates return success (unless readonly is on) but do nothing.
16 - Binds other than as the rootdn fail unless the database option "bind
17 on" is given.
18 - The slapadd(8) and slapcat(8) tools are equally exciting.
19 Inspired by the /dev/null device.
20
22 This slapd.conf option applies to the NULL backend database. That is,
23 it must follow a "database null" line and come before any subsequent
24 "database" lines. Other database options are described in the
25 slapd.conf(5) manual page.
26
27 bind <on/off>
28 Allow binds as any DN in this backend's suffix, with any pass‐
29 word. The default is "off".
30
31 dosearch <on/off>
32 If enabled, a single entry will be returned on all search
33 requests. The entry's DN will be the same as the database suf‐
34 fix. The default is "off".
35
37 Here is a possible slapd.conf extract using the Null backend:
38
39 database null
40 suffix "cn=Nothing"
41 bind on
42
44 The null backend does not honor any of the access control semantics
45 described in slapd.access(5).
46
48 /etc/openldap/slapd.conf
49 default slapd configuration file
50
52 slapd.conf(5), slapd(8), slapadd(8), slapcat(8).
53
54
55
56OpenLDAP 2.4.46 2018/03/22 SLAPD-NULL(5)