LX0-104 · Question #201
Which of the following are valid choices for the LDAP database backend? (Choose THREE correct answers.)
The correct answer is B. config C. passwd E. shell. Valid OpenLDAP database backends include config for server configuration, passwd for local password file integration, and shell for external command execution.
Question
Options
- Afile
- Bconfig
- Cpasswd
- Dlbdm
- Eshell
How the community answered
(29 responses)- A3% (1)
- B93% (27)
- D3% (1)
Why each option
Valid OpenLDAP database backends include `config` for server configuration, `passwd` for local password file integration, and `shell` for external command execution.
"file" is not a standard, named OpenLDAP database backend; typically, backends like `bdb` or `hdb` store data in files.
The `config` backend (`cn=config`) is a dynamic, in-memory database used by OpenLDAP 2.4 and later to manage the server's configuration, allowing it to be changed without restarting the daemon.
The `passwd` backend allows OpenLDAP to authenticate users against the local system's password database (e.g., `/etc/passwd` or `/etc/shadow`), which can be useful for integration or simple deployments.
`lbdm` is not a recognized standard backend for OpenLDAP. Popular traditional backends include `bdb` (Berkeley DB) and `hdb` (Hierarchical DB), and newer ones like `lmdb`.
The `shell` backend provides a mechanism to interface OpenLDAP with external programs or scripts, allowing them to handle LDAP operations, offering flexibility for custom integrations or specialized data storage.
Concept tested: OpenLDAP database backends
Source: https://www.openldap.org/doc/admin24/backends.html
Topics
Community Discussion
No community discussion yet for this question.