slapd-null(5)

slapd-null5

Null backend to slapd

Usage

ETCDIR/slapd.conf

Overview

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.

Configuration

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".

Examples

Here is a possible slapd.conf extract using the Null backend:

database null
suffix   "cn=Nothing"
bind     on

Access control

The null backend does not honor any of the access control semantics described in slapd.access(5).

Files

ETCDIR/slapd.conf

default slapd configuration file

Releases

145 releases since Mac OS X 10.3; the text changed 5 times.

  1. 10.3–10.3.9
  2. 10.4–10.4.11
  3. 10.5–10.5.8
  4. 10.6–10.6.8
  5. 10.7–10.7.5
  6. 10.8–26.5

From OpenLDAP 561 in macOS 26.5. Parsed by carta from the page's man source.