LFCS · Question #151
Which ONE of the following parameters is used in the database on a slave server to direct clients that want to make changes to the LDAP database to the master server?
The correct answer is C. updateref. The updateref parameter on an LDAP slave server is used to redirect clients attempting to make changes to the master server.
Question
Options
- Aupdatedn
- Bupdateserver
- Cupdateref
- Dupdateuri
How the community answered
(53 responses)- A6% (3)
- B2% (1)
- C91% (48)
- D2% (1)
Why each option
The `updateref` parameter on an LDAP slave server is used to redirect clients attempting to make changes to the master server.
`updatedn` is not a standard LDAP parameter for redirecting clients to a master server for updates; it relates more to the Distinguished Name (DN) of an entry.
`updateserver` is not a standard LDAP parameter for specifying the master server for client redirection in this context.
The `updateref` parameter in an LDAP server's configuration specifies a URI or list of URIs of the master server. When a client tries to perform a write operation on a read-only slave, the slave returns a referral containing this `updateref` to direct the client to the master for write operations.
`updateuri` is not a standard LDAP parameter for client redirection; while URIs are used in `updateref`, `updateuri` itself is not the correct parameter name.
Concept tested: LDAP replication client redirection
Source: https://www.openldap.org/doc/admin24/replication.html
Topics
Community Discussion
No community discussion yet for this question.