1 .lf 1 stdin 2 .TH SLAPD-NULL 5 "2025/05/22" "OpenLDAP 2.6.10" 3 .\" Copyright 2002-2024 The OpenLDAP Foundation. All Rights Reserved. 4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE. 5 .\" $OpenLDAP$ 6 .SH NAME 7 slapd\-null \- Null backend to slapd 8 .SH SYNOPSIS 9 /etc/openldap/slapd.conf 10 .SH DESCRIPTION 11 The Null backend to 12 .BR slapd (8) 13 is surely the most useful part of 14 .BR slapd : 15 .br 16 - Searches return success but no entries. 17 .br 18 - Compares return compareFalse. 19 .br 20 - Updates return success (unless readonly is on) but do nothing. 21 .br 22 - Binds other than as the rootdn fail unless the database option "bind 23 on" is given. 24 .br 25 - The 26 .BR slapadd (8) 27 and 28 .BR slapcat (8) 29 tools are equally exciting. 30 .br 31 Inspired by the /dev/null device. 32 .SH CONFIGURATION 33 This 34 .B slapd.conf 35 option applies to the NULL backend database. 36 That is, it must follow a "database null" line and come before 37 any subsequent "database" lines. 38 Other database options are described in the 39 .BR slapd.conf (5) 40 manual page. 41 .TP 42 .B bind <on/off> 43 Allow binds as any DN in this backend's suffix, with any password. 44 The default is "off". 45 .TP 46 .B dosearch <on/off> 47 If enabled, a single entry will be returned on all search requests. 48 The entry's DN will be the same as the database suffix. 49 The default is "off". 50 .SH EXAMPLE 51 Here is a possible slapd.conf extract using the Null backend: 52 .LP 53 .RS 54 .nf 55 database null 56 suffix "cn=Nothing" 57 bind on 58 .fi 59 .RE 60 .SH ACCESS CONTROL 61 The 62 .B null 63 backend does not honor any of the access control semantics described in 64 .BR slapd.access (5). 65 .SH FILES 66 .TP 67 /etc/openldap/slapd.conf 68 default slapd configuration file 69 .SH SEE ALSO 70 .BR slapd.conf (5), 71 .BR slapd (8), 72 .BR slapadd (8), 73 .BR slapcat (8). 74