nerdexam
CompTIA

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.

Administrative Tasks

Question

Which are common procedures to implement Samba with LDAP? (Choose TWO correct answers.)

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)
  • A
    87% (53)
  • C
    8% (5)
  • D
    5% (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.

AInclude the Samba schema into OpenLDAP.Correct

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.

BConfigure Samba password backend to point to OpenLDAP server.Correct

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.

CCompile OpenLDAP with support to Samba authentication.

OpenLDAP does not need to be compiled with specific support for Samba authentication; Samba itself integrates with OpenLDAP as a data store.

DInclude OpenLDAP core schema files into Samba configuration directory.

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

#Samba#LDAP integration#OpenLDAP#Samba schema#password backend

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice