nerdexam
CompTIA

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.

Essential System Services

Question

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?

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)
  • A
    71% (17)
  • B
    8% (2)
  • C
    17% (4)
  • D
    4% (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.

Aldap://slave.example.com/ou=people,dc=example,dc=comCorrect

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.

Bldap://slave.example.com?ou=people,dc=example,dc=com

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.

Cldap://slave.example.com ou=people,dc=example,dc=com

Using a space between the hostname and the base DN is not a valid LDAP URL syntax.

Dldap://slave.example.com,ou=people,dc=example,dc=com

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

#LDAP referrals#LDAP URL

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice