LX0-104 · Question #649
A Samba server is configured to use the LDAP password backend. The root DN for the LDAP directory is defined in slapd.conf. In order to define an alternative account used by the Samba administrator, w
The correct answer is B. Add a new Samba administrative account to the LDAP directory. C. Make certain that the 'ldap admin' option in smb.conf does not point to the LDAP root DN. E. Change the 'access' attributes in slapd.conf.. To define an alternative Samba administrator account with an LDAP password backend, one must add the account to LDAP, configure smb.conf to use this account for ldap admin, and adjust slapd.conf ACLs.
Question
Options
- AMake sure the password for the new administrative account matches the UNIX root password.
- BAdd a new Samba administrative account to the LDAP directory.
- CMake certain that the 'ldap admin' option in smb.conf does not point to the LDAP root DN.
- DMap the administrative account to the domain administrator.
- EChange the 'access' attributes in slapd.conf.
How the community answered
(34 responses)- A18% (6)
- B71% (24)
- D12% (4)
Why each option
To define an alternative Samba administrator account with an LDAP password backend, one must add the account to LDAP, configure `smb.conf` to use this account for `ldap admin`, and adjust `slapd.conf` ACLs.
The password for an LDAP-managed Samba administrative account does not need to match the UNIX root password; LDAP authentication is separate from local UNIX authentication.
For any account to be usable by Samba when using an LDAP backend, that account must first exist within the LDAP directory itself, including the new administrative account.
The `ldap admin` parameter in `smb.conf` specifies the Distinguished Name (DN) of the account Samba will use to bind to the LDAP server for administrative operations. It should point to the new alternative administrative account's DN, rather than the LDAP root DN, for security and privilege separation.
Mapping the administrative account to the 'domain administrator' is vague and not a distinct technical step directly involved in defining an alternative Samba administrator account for LDAP backend interaction; the critical steps are creating the LDAP entry, configuring Samba, and setting LDAP permissions.
To ensure the new administrative account has the necessary permissions to manage Samba-related objects in the LDAP directory, the access control lists (ACLs) within `slapd.conf` must be modified to grant appropriate privileges to this specific DN.
Concept tested: Samba LDAP backend administration, account configuration
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.