LFCS · Question #598
In /etc/smbldap-tools/ which file contains the DN and password for the LDAP manager?
The correct answer is C. smbldap_bind.conf. The smbldap_bind.conf file within the /etc/smbldap-tools/ directory is specifically designated to store the Distinguished Name (DN) and password for the LDAP manager account used by Samba's LDAP tools.
Question
Options
- Asmbldap.conf
- Bldap.conf
- Csmbldap_bind.conf
- Dslapd.conf
How the community answered
(22 responses)- A5% (1)
- C91% (20)
- D5% (1)
Why each option
The `smbldap_bind.conf` file within the `/etc/smbldap-tools/` directory is specifically designated to store the Distinguished Name (DN) and password for the LDAP manager account used by Samba's LDAP tools.
`smbldap.conf` contains general configuration parameters for `smbldap-tools`, but not the specific bind DN and password for the LDAP manager.
`ldap.conf` is typically the system-wide LDAP client configuration file, not specific to `smbldap-tools` manager credentials.
The `smbldap_bind.conf` file is designed to securely store the LDAP manager's bind DN and password, which `smbldap-tools` uses to authenticate to the LDAP server for administrative operations. Separating this sensitive information from the main `smbldap.conf` improves security and management.
`slapd.conf` is the main configuration file for the OpenLDAP server daemon (`slapd`), not for client-side tools like `smbldap-tools`.
Concept tested: smbldap-tools LDAP manager credentials
Source: https://www.samba.org/samba/docs/current/manpages/smbldap-tools.8.html
Topics
Community Discussion
No community discussion yet for this question.