NAME | SYNOPSIS | DESCRIPTION | CONFIGURATION | EXAMPLE | ACCESS CONTROL | FILES | SEE ALSO | COLOPHON |
|
|
SLAPD-NULL(5) File Formats Manual SLAPD-NULL(5)
slapd-null - Null backend to slapd
ETCDIR/slapd.conf
The Null backend to slapd(8) is surely the most useful part of slapd: - Searches return success but no entries. - Compares return compareFalse. - Updates return success (unless readonly is on) but do nothing. - Binds other than as the rootdn fail unless the database option "bind on" is given. - The slapadd(8) and slapcat(8) tools are equally exciting. Inspired by the /dev/null device.
This slapd.conf option applies to the NULL backend database. That is, it must follow a "database null" line and come before any subsequent "database" lines. Other database options are described in the slapd.conf(5) manual page. bind <on/off> Allow binds as any DN in this backend's suffix, with any password. The default is "off". dosearch <on/off> If enabled, a single entry will be returned on all search requests. The entry's DN will be the same as the database suffix. The default is "off".
Here is a possible slapd.conf extract using the Null backend: database null suffix "cn=Nothing" bind on
The null backend does not honor any of the access control semantics described in slapd.access(5).
ETCDIR/slapd.conf default slapd configuration file
slapd.conf(5), slapd(8), slapadd(8), slapcat(8).
This page is part of the OpenLDAP (an open source implementation
of the Lightweight Directory Access Protocol) project.
Information about the project can be found at
⟨http://www.openldap.org/⟩. If you have a bug report for this
manual page, see ⟨http://www.openldap.org/its/⟩. This page was
obtained from the project's upstream Git repository
⟨https://git.openldap.org/openldap/openldap.git⟩ on 2024-06-14.
(At that time, the date of the most recent commit that was found
in the repository was 2024-06-13.) If you discover any rendering
problems in this HTML version of the page, or you believe there
is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
[email protected]
OpenLDAP LDVERSION RELEASEDATE SLAPD-NULL(5)
Pages that refer to this page: slapd.backends(5), slapcat(8), slapschema(8)