LFCS · Question #631
With Samba 3, which LDAP object class contains the Samba password attribute in the LDAP backend.
The correct answer is A. sambaSamAccount. In Samba 3, the sambaSamAccount LDAP object class is responsible for containing Samba-specific user password attributes.
Question
Options
- AsambaSamAccount
- BshadowAccount
- CinetOrgPerson
- DsambaUnixIdPool
- EsambaPasswdMap
How the community answered
(58 responses)- A86% (50)
- B2% (1)
- C9% (5)
- D3% (2)
Why each option
In Samba 3, the `sambaSamAccount` LDAP object class is responsible for containing Samba-specific user password attributes.
For Samba 3, when using an LDAP backend, the `sambaSamAccount` object class extends standard LDAP entries to store Samba-specific attributes, including hashed passwords (e.g., `sambaNTPassword` and `sambaLMPassword`). This class is critical for enabling Samba to retrieve and validate user credentials against an LDAP directory.
`shadowAccount` is primarily used for Unix-like password management in LDAP and does not inherently store Samba-specific password attributes.
`inetOrgPerson` is a generic LDAP object class for representing people and does not contain Samba-specific password attributes; `sambaSamAccount` typically extends it.
`sambaUnixIdPool` is an object class used for managing UID/GID pools for ID mapping, not for storing individual user password attributes.
`sambaPasswdMap` is not a standard LDAP object class used by Samba for storing user password attributes in an LDAP backend.
Concept tested: Samba LDAP schema object class for passwords
Source: https://www.samba.org/samba/docs/old/Samba3-HOWTO/ldap-user-account.html
Topics
Community Discussion
No community discussion yet for this question.