LPIC-2 Exam 202 (Linux Engineer) — Question 40
How is the LDAP administrator account configured when the rootdn and rootpw directives are not present in the slapd.conf file?
Answer options
- A. The default account admin with the password admin are used
- B. The account is defined by an ACL in slapd.conf
- C. The default account admin is used without a password
- D. The account is defined in the file /etc/ldap.secret
- E. The account is defined in the file /etc/ldap.root.conf
Correct answer: B
Explanation
When the rootdn and rootpw directives are absent, the LDAP administrator account is specified through an Access Control List (ACL) within slapd.conf, making option B correct. The other options are incorrect as they imply the use of default credentials or other files which do not define the administrator account in this context.