LFCS · Question #144
LFCS Question #144: Real Exam Question with Answer & Explanation
The correct answer is B: Do not add a replogfile directive to slapd.conf.. When configuring a slave OpenLDAP server for replication in a legacy slapd.conf setup, it's crucial to define the updatedn and to avoid master-specific directives like replica and replogfile.
Question
Which of the following steps should be followed when configuring a slave slapd server? (Choose THREE correct answers.)
Options
- AAdd a replica directive to slapd.conf.
- BDo not add a replogfile directive to slapd.conf.
- CAdd an updatedn directive to slapd.conf.
- DAdd a replogfile directive to slapd.conf.
- EDo not add a replica directive to slapd.conf.
Explanation
When configuring a slave OpenLDAP server for replication in a legacy slapd.conf setup, it's crucial to define the updatedn and to avoid master-specific directives like replica and replogfile.
Common mistakes.
- A. The
replicadirective is used on the master server to define its slaves, not on the slave server itself; including it on a slave is incorrect. - D. The
replogfiledirective is a master-side configuration option, enabling the master to track changes for replication; it is not configured on the slave server.
Concept tested. OpenLDAP slave server configuration (slapd.conf)
Reference. https://www.openldap.org/doc/admin24/replication.html
Topics
Community Discussion
No community discussion yet for this question.