slapd.backends(5) — Linux manual page


SLAPD.BACKENDS(5)          File Formats Manual         SLAPD.BACKENDS(5)

NAME         top

       slapd.backends - backends for slapd, the stand-alone LDAP daemon

DESCRIPTION         top

       The slapd(8) daemon can use a variety of different backends for
       serving LDAP requests.  Backends may be compiled statically into
       slapd, or when module support is enabled, they may be dynamically
       loaded. Multiple instances of a backend can be configured, to
       serve separate databases from the same slapd server.

       Configuration options for each backend are documented separately
       in the corresponding slapd-<backend>(5) manual pages.

              This backend performs basic LDAP proxying with respect to
              a set of remote LDAP servers. It is an enhancement of the
              ldap backend that operates asynchronously, to prevent
              tying up slapd threads while waiting for operations to

       config This backend is used to manage the configuration of slapd
              at run-time.  Unlike other backends, only a single
              instance of the config backend may be defined. It also
              instantiates itself automatically, so it is always present
              even if not explicitly defined in the slapd.conf(5) file.

       dnssrv This backend is experimental.  It serves up referrals
              based upon SRV resource records held in the Domain Name

       ldap   This backend acts as a proxy to forward incoming requests
              to another LDAP server.

       ldif   This database uses the filesystem to build the tree
              structure of the database, using plain ascii files to
              store data.  Its usage should be limited to very simple
              databases, where performance is not a requirement. This
              backend also supports subtree renames.

       mdb    This is the recommended primary backend.  This backend
              uses OpenLDAP's own MDB transactional database library.
              This backend also supports subtree renames.

       meta   This backend performs basic LDAP proxying with respect to
              a set of remote LDAP servers. It is an enhancement of the
              ldap backend.

              This backend provides information about the running status
              of the slapd daemon. Only a single instance of the monitor
              backend may be defined.

       null   Operations in this backend succeed but do nothing.

       passwd This backend is provided for demonstration purposes only.
              It serves up user account information from the system
              passwd(5) file.

       perl   This backend embeds a perl(1) interpreter into slapd.  It
              runs Perl subroutines to implement LDAP operations.  This
              backend is deprecated.

       relay  This backend is experimental.  It redirects LDAP
              operations to another database in the same server, based
              on the naming context of the request.  Its use requires
              the rwm overlay (see slapo-rwm(5) for details) to rewrite
              the naming context of the request.  It is primarily
              intended to implement virtual views on databases that
              actually store data.

       sql    This backend is experimental and deprecated.  It services
              LDAP requests from an SQL database.

              This backend is experimental.  It services LDAP requests
              from a wiredtiger database.

FILES         top

              default slapd configuration file

              default slapd configuration directory

SEE ALSO         top

       ldap(3), slapd-asyncmeta(5), slapd-config(5), slapd-dnssrv(5),
       slapd-ldap(5), slapd-ldif(5), slapd-mdb(5), slapd-meta(5),
       slapd-monitor(5), slapd-null(5), slapd-passwd(5), slapd-perl(5),
       slapd-relay(5), slapd-sql(5), slapd-wt(5), slapd.conf(5),
       slapd.overlays(5), slapd(8).  "OpenLDAP Administrator's Guide"


       OpenLDAP Software is developed and maintained by The OpenLDAP
       Project <>.  OpenLDAP Software is derived
       from the University of Michigan LDAP 3.3 Release.

COLOPHON         top

       This page is part of the OpenLDAP (an open source implementation
       of the Lightweight Directory Access Protocol) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug report for this
       manual page, see ⟨⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2024-06-14.
       (At that time, the date of the most recent commit that was found
       in the repository was 2024-06-13.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to


Pages that refer to this page: slapd.conf(5)slapd-config(5)slapd.overlays(5)