nerdexam
Linux_Foundation

LFCS · 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. To create a subordinate knowledge link (referral) pointing to a specific DN on another LDAP server, the ref attribute must be assigned an LDAP URL in the ldap://hostname/dn format.

Submitted by rania.sa· Apr 18, 2026Service Configuration

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

(28 responses)
  • A
    93% (26)
  • B
    4% (1)
  • D
    4% (1)

Why each option

To create a subordinate knowledge link (referral) pointing to a specific DN on another LDAP server, the `ref` attribute must be assigned an LDAP URL in the `ldap://hostname/dn` format.

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

The correct format for an LDAP URL that specifies a base DN on a particular host is `ldap://hostname/dn`. Therefore, `ldap://slave.example.com/ou=people,dc=example,dc=com` correctly forms a subordinate knowledge link, directing clients to the specified DN on `slave.example.com` for that subtree.

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

The question mark (?) in an LDAP URL is used to separate the base DN from attribute lists, scope, or filters, not to append the DN itself.

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

An LDAP URL does not use a space to separate the hostname from the distinguished name, making this an invalid URL format.

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

A comma (,) is used within the components of a distinguished name, not as a separator between the hostname and the DN in an LDAP URL.

Concept tested: LDAP URL syntax for referrals

Source: https://www.rfc-editor.org/rfc/rfc4516

Topics

#LDAP#Referrals#LDAP URL Syntax#Directory Services

Community Discussion

No community discussion yet for this question.

Full LFCS Practice