LFCS · 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. This question focuses on the functionalities and configuration aspects of the smbldap-tools package, specifically identifying correct statements about its scripts and configuration files.
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
(26 responses)- A92% (24)
- B4% (1)
- C4% (1)
Why each option
This question focuses on the functionalities and configuration aspects of the `smbldap-tools` package, specifically identifying correct statements about its scripts and configuration files.
The `/etc/smbldap-tools/smbldap_bind.conf` file is specifically designed to store the access credentials, such as the bind DN and password, that the `smbldap-tools` scripts use to authenticate to and perform operations on the LDAP server. This centralizes authentication details for administrative tasks.
The `smbldap-migrate-accounts` command is typically used to migrate existing user accounts *into* the LDAP directory for use with Samba, not from an LDAP server to an NT server.
The `smbldap-usershow` command displays detailed information about user accounts from the LDAP backend, not 'just' user accounts from the Samba server, and offers comprehensive data.
The `smbldap-passwd` command is a dedicated tool within the `smbldap-tools` suite used to manage user passwords. It allows administrators to create and change user passwords stored in the LDAP backend, ensuring synchronization for Samba-integrated LDAP environments.
While `smbldap-useradd` creates user accounts, its primary function is to create them in the LDAP backend, which then integrates with Samba, rather than creating them independently in both 'Samba and LDAP backends' simultaneously.
Concept tested: Samba LDAP tools (`smbldap-tools`) usage
Source: https://www.samba.org/samba/docs/current/manpages/smbldap-tools.8.html
Topics
Community Discussion
No community discussion yet for this question.