nerdexam
CompTIA

LX0-104 · Question #633

Select the TWO correct answers relating to the scripts of smbldap-tools package:

The correct answer is A. The /etc/smbldap-tools/smbldap_bind.conf file contains the access credentials for the LDAP server. D. smbldap-passwd is used to create and change users passwords.. The smbldap-tools package uses /etc/smbldap-tools/smbldap_bind.conf for LDAP server credentials, and smbldap-passwd is used to manage user passwords.

Administrative Tasks

Question

Select the TWO correct answers relating to the scripts of smbldap-tools package:

Options

  • AThe /etc/smbldap-tools/smbldap_bind.conf file contains the access credentials for the LDAP server.
  • BThe smbldap-migrate-accounts command is used to migrate accounts from a LDAP server to a NT server.
  • CThe smbldap-usershow command displays just the user accounts on the Samba server.
  • Dsmbldap-passwd is used to create and change users passwords.
  • EThe smbldap-useradd command creates user accounts in both the Samba and LDAP backends.

How the community answered

(50 responses)
  • A
    94% (47)
  • B
    4% (2)
  • C
    2% (1)

Why each option

The `smbldap-tools` package uses `/etc/smbldap-tools/smbldap_bind.conf` for LDAP server credentials, and `smbldap-passwd` is used to manage user passwords.

AThe /etc/smbldap-tools/smbldap_bind.conf file contains the access credentials for the LDAP server.Correct

The `/etc/smbldap-tools/smbldap_bind.conf` file is specifically designed to store the credentials (like bind DN and password) that the `smbldap-tools` scripts use to authenticate to the LDAP server, ensuring secure and controlled access.

BThe smbldap-migrate-accounts command is used to migrate accounts from a LDAP server to a NT server.

The `smbldap-migrate-accounts` command typically migrates accounts *into* an LDAP backend for Samba, not from an LDAP server to an NT server.

CThe smbldap-usershow command displays just the user accounts on the Samba server.

The `smbldap-usershow` command displays user information from the LDAP backend, but the statement implies it only shows 'Samba server' accounts as a distinct entity, which is inaccurate when LDAP is the backend.

Dsmbldap-passwd is used to create and change users passwords.Correct

The `smbldap-passwd` command is a dedicated utility within the `smbldap-tools` package used for creating, changing, and managing user passwords directly within the LDAP backend that Samba is configured to use.

EThe smbldap-useradd command creates user accounts in both the Samba and LDAP backends.

The `smbldap-useradd` command creates user accounts in the LDAP backend, which Samba then utilizes, rather than creating them separately in both 'Samba' and 'LDAP' backends.

Concept tested: smbldap-tools functionality and configuration

Source: https://www.samba.org/samba/docs/old/Samba3-HOWTO/LDAP.html

Topics

#smbldap-tools#LDAP integration#Samba user management#configuration files

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice