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.
Question
Options
- AdisplayName
- BsambaSID
- Cuid
- DsambaLMPassword
- EsambaNTPassword
How the community answered
(23 responses)- A4% (1)
- B96% (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.
The `displayName` attribute is an optional attribute in LDAP user objects and is not mandatory for the `sambaSamAccount` object class.
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.
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.
The `sambaLMPassword` attribute, storing the LAN Manager hash, is an optional (`MAY`) attribute within the `sambaSamAccount` object class.
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
Community Discussion
No community discussion yet for this question.