LX0-104 · Question #129
Which are common procedures to implement Samba with LDAP? (Choose TWO correct answers.)
The correct answer is A. Include the Samba schema into OpenLDAP. B. Configure Samba password backend to point to OpenLDAP server. Common procedures for implementing Samba with LDAP involve including the Samba schema into OpenLDAP and configuring Samba's password backend to point to the OpenLDAP server. This allows Samba to store and retrieve user and group information from LDAP.
Question
Options
- AInclude the Samba schema into OpenLDAP.
- BConfigure Samba password backend to point to OpenLDAP server.
- CCompile OpenLDAP with support to Samba authentication.
- DInclude OpenLDAP core schema files into Samba configuration directory.
How the community answered
(61 responses)- A87% (53)
- C8% (5)
- D5% (3)
Why each option
Common procedures for implementing Samba with LDAP involve including the Samba schema into OpenLDAP and configuring Samba's password backend to point to the OpenLDAP server. This allows Samba to store and retrieve user and group information from LDAP.
To store Samba-specific attributes (like SID, LM/NT passwords) for users and groups within an OpenLDAP directory, the Samba schema definitions must be imported into the OpenLDAP server.
Samba must be explicitly configured to use the OpenLDAP server as its password backend, typically using the `passdb backend = ldapsam:ldap://<server_address>` directive in `smb.conf`, so it can authenticate users against LDAP.
OpenLDAP does not need to be compiled with specific support for Samba authentication; Samba itself integrates with OpenLDAP as a data store.
OpenLDAP core schema files are loaded into the OpenLDAP server's configuration, not into Samba's configuration directory, which uses its own specific schema for LDAP integration.
Concept tested: Samba-LDAP integration steps
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html#PASSDBBACKEND
Topics
Community Discussion
No community discussion yet for this question.