Go to main content

man pages section 5: File Formats

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

slapd-null (5oldap)

Name

slapd-null - Null backend to slapd

Synopsis

/etc/openldap/slapd.conf

Description

SLAPD-NULL(5oldap)                                          SLAPD-NULL(5oldap)



NAME
       slapd-null - Null backend to slapd

SYNOPSIS
       /etc/openldap/slapd.conf

DESCRIPTION
       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 pass-
              word.  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 suf-
              fix.  The default is "off".

EXAMPLE
       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
       /etc/openldap/slapd.conf
              default slapd configuration file


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-------------------------------+
       |ATTRIBUTE TYPE |       ATTRIBUTE VALUE         |
       +---------------+-------------------------------+
       |Availability   | service/network/ldap/openldap |
       +---------------+-------------------------------+
       |Stability      | Pass-through uncommitted      |
       +---------------+-------------------------------+

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



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was downloaded from  ftp://ftp.openldap.org/pub/OpenLDAP/openl-
       dap-release/openldap-2.4.59.tgz.

       Further information about this software can be found on the open source
       community website at http://www.openldap.org/.



OpenLDAP 2.4.59                   2021/06/03                SLAPD-NULL(5oldap)