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.
Question
Options
- AdisplayName
- BsambaSID
- Cuid
- DsambaLMPassword
- EsambaNTPassword
How the community answered
(39 responses)- A8% (3)
- B87% (34)
- D3% (1)
- E3% (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.
`displayName` is an optional attribute for user objects, providing a friendly name but not mandatory for the `sambaSamAccount` object class.
The `sambaSID` (Security Identifier) is a unique and mandatory attribute for a `sambaSamAccount`, essential for Samba to identify the user within the domain.
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.
`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.
`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
Community Discussion
No community discussion yet for this question.