202-450 practice question 25 of 25

Which of the following values can be used in the OpenLDAP attribute olcBackend for any object of the class olcBackendConfig to specify a backend? (Choose three.)

Full set: 119 questions
Answer options
A: xml
B: bdb Correct answer
C: passwd Correct answer
D: ldap Correct answer
E: text
Correct Answer:
B. bdb; C. passwd; D. ldap
Explanation

The olcBackend attribute in an olcDatabaseConfig object defines the backend type for a specific database instance in OpenLDAP's dynamic configuration (cn=config). OpenLDAP supports numerous backends. Among the choices provided, bdb (Berkeley DB, a historically common backend), passwd (for serving data from the system's /etc/passwd file), and ldap (for proxying requests to another LDAP server) are all valid backend type specifications. These names are used to tell slapd which database driver to use for the data suffix.

Why Incorrect

A. xml is not a standard OpenLDAP backend type for storing directory data. While data can be represented in XML (e.g., DSML), it is not a native storage engine.
E. text is not a standard OpenLDAP backend type. The ldif backend exists for file-based storage, but text is not a valid identifier.

References

1. OpenLDAP Administrator's Guide, Chapter 8, "LDAP Backends". This chapter details the available backends. Section 8.3 discusses slapd-bdb, Section 8.7 discusses slapd-ldap, and Section 8.10 discusses slapd-passwd, confirming them as valid backends.

2. slapd-config(5) manual page. In the "DATABASE-SPECIFIC GLOBAL DIRECTIVES" section, it describes the olcBackend attribute and lists various backend types that can be used, including bdb, ldap, and passwd.

3. slapd.backends(5) manual page. This page provides an overview of the backends available for the slapd server. It explicitly lists bdb, ldap, and passwd as available backend types.

Scroll to Top