nerdexam
Linux_Foundation

LFCS · Question #130

Which attributes must be present when assigning the object class sambaSamAccount to a particular user? (Choose TWO correct answers)

The correct answer is B. sambaSID C. uid. When assigning the sambaSamAccount object class to an LDAP user, sambaSID is a mandatory attribute by schema definition, and uid is typically a required primary identifier for the user entry itself.

Submitted by lucia.co· Apr 18, 2026User and Group Management

Question

Which attributes must be present when assigning the object class sambaSamAccount to a particular user? (Choose TWO correct answers)

Options

  • AdisplayName
  • BsambaSID
  • Cuid
  • DsambaLMPassword
  • EsambaNTPassword

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    96% (22)

Why each option

When assigning the `sambaSamAccount` object class to an LDAP user, `sambaSID` is a mandatory attribute by schema definition, and `uid` is typically a required primary identifier for the user entry itself.

AdisplayName

The `displayName` attribute is an optional attribute in LDAP user objects and is not mandatory for the `sambaSamAccount` object class.

BsambaSIDCorrect

The `sambaSID` attribute is explicitly defined as a mandatory (`MUST`) attribute within the `sambaSamAccount` object class in the Samba LDAP schema. This Security Identifier is unique to each Samba user or machine account and is crucial for Windows domain operations.

CuidCorrect

While not explicitly a `MUST` attribute of the `sambaSamAccount` auxiliary object class itself, the `uid` (User ID) attribute is typically a mandatory attribute of the primary `posixAccount` or `inetOrgPerson` object classes to which `sambaSamAccount` is commonly added. For an LDAP entry to represent a functional user, `uid` serves as a fundamental identifier for various services, including Samba.

DsambaLMPassword

The `sambaLMPassword` attribute, storing the LAN Manager hash, is an optional (`MAY`) attribute within the `sambaSamAccount` object class.

EsambaNTPassword

The `sambaNTPassword` attribute, storing the NT hash, is an optional (`MAY`) attribute within the `sambaSamAccount` object class.

Concept tested: Samba LDAP schema attributes

Source: https://git.samba.org/samba.git/?p=samba.git;a=blob;f=docs/schema/samba.ldif;h=356f91605333555f84d9f678f5f4c549646422d1;hb=HEAD

Topics

#Samba#LDAP#User Management#Object Classes

Community Discussion

No community discussion yet for this question.

Full LFCS Practice