nerdexam
Linux_Foundation

LFCS · Question #203

Which ONE of the following is a correct example of an RDN?

The correct answer is B. cn=John Doe. The question asks to identify a correct example of a Relative Distinguished Name (RDN) in LDAP.

Submitted by lars.no· Apr 18, 2026User and Group Management

Question

Which ONE of the following is a correct example of an RDN?

Options

  • AJohnDoe
  • Bcn=John Doe
  • Ccn=JohnDoe,ou=people,o=example
  • Dcn=John Doe, ou=people, o=example

How the community answered

(45 responses)
  • A
    2% (1)
  • B
    91% (41)
  • C
    2% (1)
  • D
    4% (2)

Why each option

The question asks to identify a correct example of a Relative Distinguished Name (RDN) in LDAP.

AJohnDoe

JohnDoe is only a value, not an attribute-value pair, and therefore not a valid RDN.

Bcn=John DoeCorrect

An RDN (Relative Distinguished Name) is the leftmost, most specific component of a DN, representing the entry itself relative to its immediate parent, and consists of one or more attribute-value pairs, such as `cn=John Doe`. It does not include the full path to the directory root, which would make it a full DN.

Ccn=JohnDoe,ou=people,o=example

cn=JohnDoe,ou=people,o=example is a full Distinguished Name (DN), not just a Relative Distinguished Name (RDN).

Dcn=John Doe, ou=people, o=example

cn=John Doe, ou=people, o=example is a full Distinguished Name (DN) with spaces, not just a Relative Distinguished Name (RDN).

Concept tested: LDAP Relative Distinguished Name (RDN) format

Source: https://www.ietf.org/rfc/rfc4514.txt

Topics

#LDAP#RDN#Directory Services#User Identification

Community Discussion

No community discussion yet for this question.

Full LFCS Practice