2002-06-13 11:59:10 +08:00
|
|
|
.TH SLAPD-NULL 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
2019-01-15 02:46:16 +08:00
|
|
|
.\" Copyright 2002-2019 The OpenLDAP Foundation. All Rights Reserved.
|
2005-07-04 20:50:57 +08:00
|
|
|
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
2002-04-30 04:24:29 +08:00
|
|
|
.\" $OpenLDAP$
|
|
|
|
.SH NAME
|
2009-06-03 08:43:44 +08:00
|
|
|
slapd\-null \- Null backend to slapd
|
2002-04-30 04:24:29 +08:00
|
|
|
.SH SYNOPSIS
|
|
|
|
ETCDIR/slapd.conf
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The Null backend to
|
|
|
|
.BR slapd (8)
|
|
|
|
is surely the most useful part of
|
|
|
|
.BR slapd :
|
|
|
|
.br
|
|
|
|
- Searches return success but no entries.
|
|
|
|
.br
|
|
|
|
- Compares return compareFalse.
|
|
|
|
.br
|
|
|
|
- Updates return success (unless readonly is on) but do nothing.
|
|
|
|
.br
|
2006-04-28 00:12:59 +08:00
|
|
|
- Binds other than as the rootdn fail unless the database option "bind
|
|
|
|
on" is given.
|
2002-04-30 04:24:29 +08:00
|
|
|
.br
|
2005-09-01 02:17:46 +08:00
|
|
|
- The
|
|
|
|
.BR slapadd (8)
|
|
|
|
and
|
|
|
|
.BR slapcat (8)
|
|
|
|
tools are equally exciting.
|
|
|
|
.br
|
2002-04-30 04:24:29 +08:00
|
|
|
Inspired by the /dev/null device.
|
|
|
|
.SH CONFIGURATION
|
2002-05-02 00:38:30 +08:00
|
|
|
This
|
|
|
|
.B slapd.conf
|
|
|
|
option applies to the NULL backend database.
|
2002-04-30 04:24:29 +08:00
|
|
|
That is, it must follow a "database null" line and come before
|
|
|
|
any subsequent "database" lines.
|
|
|
|
Other database options are described in the
|
|
|
|
.BR slapd.conf (5)
|
|
|
|
manual page.
|
|
|
|
.TP
|
|
|
|
.B bind <on/off>
|
2007-05-17 07:23:48 +08:00
|
|
|
Allow binds as any DN in this backend's suffix, with any password.
|
2002-04-30 04:24:29 +08:00
|
|
|
The default is "off".
|
2015-09-18 03:41:58 +08:00
|
|
|
.TP
|
|
|
|
.B 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".
|
2002-04-30 04:24:29 +08:00
|
|
|
.SH EXAMPLE
|
|
|
|
Here is a possible slapd.conf extract using the Null backend:
|
|
|
|
.LP
|
2002-05-03 00:35:16 +08:00
|
|
|
.RS
|
2002-04-30 04:24:29 +08:00
|
|
|
.nf
|
2002-05-03 00:35:16 +08:00
|
|
|
database null
|
|
|
|
suffix "cn=Nothing"
|
|
|
|
bind on
|
2002-04-30 04:24:29 +08:00
|
|
|
.fi
|
2002-05-03 00:35:16 +08:00
|
|
|
.RE
|
2005-04-09 08:44:17 +08:00
|
|
|
.SH ACCESS CONTROL
|
|
|
|
The
|
|
|
|
.B null
|
|
|
|
backend does not honor any of the access control semantics described in
|
|
|
|
.BR slapd.access (5).
|
2002-05-02 00:38:30 +08:00
|
|
|
.SH FILES
|
2002-05-09 10:07:41 +08:00
|
|
|
.TP
|
2002-05-02 00:38:30 +08:00
|
|
|
ETCDIR/slapd.conf
|
2002-05-09 10:07:41 +08:00
|
|
|
default slapd configuration file
|
2002-04-30 04:24:29 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR slapd.conf (5),
|
2005-09-01 02:34:56 +08:00
|
|
|
.BR slapd (8),
|
|
|
|
.BR slapadd (8),
|
|
|
|
.BR slapcat (8).
|