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.
Question
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)- A94% (47)
- B4% (2)
- C2% (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.
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.
The `smbldap-migrate-accounts` command typically migrates accounts *into* an LDAP backend for Samba, not from an LDAP server to an NT 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.
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.
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
Community Discussion
No community discussion yet for this question.