nerdexam
CompTIA

LX0-104 · 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 a user in LDAP, the sambaSID and uid attributes are mandatory. These attributes are crucial for identifying the Samba account and linking it to a Unix user.

Security

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

(39 responses)
  • A
    8% (3)
  • B
    87% (34)
  • D
    3% (1)
  • E
    3% (1)

Why each option

When assigning the `sambaSamAccount` object class to a user in LDAP, the `sambaSID` and `uid` attributes are mandatory. These attributes are crucial for identifying the Samba account and linking it to a Unix user.

AdisplayName

`displayName` is an optional attribute for user objects, providing a friendly name but not mandatory for the `sambaSamAccount` object class.

BsambaSIDCorrect

The `sambaSID` (Security Identifier) is a unique and mandatory attribute for a `sambaSamAccount`, essential for Samba to identify the user within the domain.

CuidCorrect

The `uid` (User ID) attribute, typically representing the Unix username, is also a mandatory attribute for a `sambaSamAccount` object, linking the Samba account to its corresponding Unix identity.

DsambaLMPassword

`sambaLMPassword` is an attribute that stores the LM hash of the user's password, which is usually generated by Samba or set, but not a mandatory attribute for the object class itself.

EsambaNTPassword

`sambaNTPassword` is an attribute that stores the NT hash of the user's password, which is similarly generated or set, but not a mandatory attribute for the object class itself.

Concept tested: Samba LDAP schema mandatory attributes

Source: https://www.samba.org/samba/docs/current/manpages/samba-tool.8.html (related to creating samba accounts in LDAP)

Topics

#LDAP#sambaSamAccount#object classes#LDAP attributes#sambaSID

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice