LX0-104 · Question #344
When assigned to the ref attribute for ou=people,dc=example,dc=com, which of the following values will create a subordinate knowledge link to slave.example.com?
The correct answer is A. ldap://slave.example.com/ou=people,dc=example,dc=com. This question asks for the correct LDAP URL syntax to configure a subordinate knowledge link (referral) pointing to a different LDAP server for a specific subtree.
Question
Options
- Aldap://slave.example.com/ou=people,dc=example,dc=com
- Bldap://slave.example.com?ou=people,dc=example,dc=com
- Cldap://slave.example.com ou=people,dc=example,dc=com
- Dldap://slave.example.com,ou=people,dc=example,dc=com
How the community answered
(24 responses)- A71% (17)
- B8% (2)
- C17% (4)
- D4% (1)
Why each option
This question asks for the correct LDAP URL syntax to configure a subordinate knowledge link (referral) pointing to a different LDAP server for a specific subtree.
The correct syntax for an LDAP URL used in a 'ref' attribute (referral) is ldap://<hostname>:<port>/<baseDN>. Option A, ldap://slave.example.com/ou=people,dc=example,dc=com, correctly specifies the protocol, the target server slave.example.com, and the base Distinguished Name (DN) /ou=people,dc=example,dc=com for the referred subtree, thus forming a valid subordinate knowledge link.
The '?' character in an LDAP URL typically separates the DN from attributes to return or search scope, not the hostname from the base DN for a referral.
Using a space between the hostname and the base DN is not a valid LDAP URL syntax.
Using a comma between the hostname and the base DN is not a valid LDAP URL syntax.
Concept tested: LDAP referral URL syntax
Source: https://www.rfc-editor.org/rfc/rfc4516
Topics
Community Discussion
No community discussion yet for this question.