SLAPD-NULL(5)

✨ SLAPD-NULL(5) ✨

okay bestie, welcome to the File Formats Manual for slapd-null πŸ’… this is the manual page for the Null backend to slapd, and no cap, it's about to be your fave.


πŸ¦‹ NAME πŸ¦‹

slapd-null β€” the Null backend to slapd, and honestly? iconic.


πŸŽ€ SYNOPSIS πŸŽ€

/etc/openldap/slapd.conf

πŸ’– DESCRIPTION πŸ’–

The Null backend to slapd(8) is surely the most useful part of slapd, and I will not be taking questions:

  • 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. literally the blueprint 🫢


🌸 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". πŸ’€ (yes, any password, I said what I said)
  • 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".

✨ EXAMPLE ✨

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

database null
suffix   "cn=Nothing"
bind     on

slay. that's the whole vibe. 😌


πŸ”₯ ACCESS CONTROL πŸ”₯

The null backend does not honor any of the access control semantics described in slapd.access(5). not even a little. zero. none. periodt.


πŸŽ€ FILES πŸŽ€

  • /etc/openldap/slapd.conf β€” default slapd configuration file

πŸ’œ SEE ALSO πŸ’œ

slapd.conf(5), slapd(8), slapadd(8), slapcat(8).


and that's a wrap, bestie 🧚 this was brought to you by OpenLDAP 2.7.2, dated 2026/10/21 β€” go forth and return success while doing absolutely nothing, it's giving main character energy πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from