nerdexam
LPI

117-302 · Question #157

In /etc/smbldap-tools/ which file contains the DN and password for the LDAP manager?

The correct answer is C. smbldap_bind.conf. LPI 117-302 Exam

300.8 OpenLDAP Configuration

Question

In /etc/smbldap-tools/ which file contains the DN and password for the LDAP manager?

Options

  • Asmbldap.conf
  • Bldap.conf
  • Csmbldap_bind.conf
  • Dslapd.conf

How the community answered

(39 responses)
  • A
    8% (3)
  • B
    18% (7)
  • C
    69% (27)
  • D
    5% (2)

Explanation

LPI 117-302 Exam

Topics

#smbldap-tools#smbldap_bind.conf#LDAP manager#credentials

Community Discussion

10
Fatima Z.Fatima Z.May 27, 2026

The answer is C, smbldap_bind.conf, and here is the hook that will burn it into your brain forever. Think BIND equals BADGES, as in credentials, the thing that proves who you are at the door. The bind file is literally named after the LDAP bind operation, which is the handshake where you present a Distinguished Name and a password to authenticate, so of course the file holding the manager DN and password is the one with BIND in the name. smbldap.conf handles the general setup stuff like server URIs and domain info, but it is not the secrets file. Next time you see a question about stored credentials in smbldap-tools, just picture a bouncer named Bind checking IDs at the door, and you will never mix these two up again.

14
Ingrid P.Ingrid P.May 28, 2026

The bouncer mnemonic is solid, but I would also card smbldap_bind.conf as the one worth a dedicated Anki field for the exact default path, usually /etc/smbldap-tools/smbldap_bind.conf, since questions sometimes probe the directory and not just the filename.

0
Toby R.Toby R.Mar 8, 2026

smbldap_bind.conf is the one, it holds the bind DN and password separately from the main config specifically so you can restrict permissions on that file without exposing credentials to everyone who reads smbldap.conf. The split is intentional, smbldap.conf handles the general LDAP connection settings while smbldap_bind.conf keeps the sensitive auth stuff locked down.

9
Ola B.Ola B.Feb 25, 2026

The bind credentials live in smbldap_bind.conf, but do you know why they're kept in a separate file?

1
Ingrid P.Ingrid P.May 30, 2026

smbldap_bind.conf holds the bind DN and password, not smbldap.conf which covers general settings.

1
Anjali D.Anjali D.Jun 1, 2026

Ingrid is right on that split, though worth noting that in some older distro packages the bind credentials ended up in smbldap.conf instead, so if something looks misconfigured it is worth checking both files before assuming the expected layout.

0
Anjali D.Anjali D.Jun 11, 2026

Our group went back and forth on this one because A looks tempting if you conflate the general smbldap settings with the bind credentials, but the bind DN and password live in smbldap_bind.conf specifically so they can be locked down with tighter file permissions separately from the rest of the config. C is the answer, and that separation of concerns is actually worth remembering for the exam itself.

1
Fatima Z.Fatima Z.Jun 14, 2026

The separation trick is easy to cement if you picture BIND as a bouncer with his own secret clipboard, kept in a locked back room away from the main guest list in smbldap.conf, because that bouncer clipboard holds credentials that need stricter chmod protection than the general config ever would.

0
Grace U.Grace U.Feb 19, 2026

slapd.conf is where that manager credential lives, trust your gut.

0
Toby R.Toby R.Feb 20, 2026

Grace, slapd.conf is the old-school flat file that most modern distros have moved away from, the manager credential in current OpenLDAP setups lives in the cn=config directory (the slapd.d structure), which is what C is pointing at.

0
Full 117-302 Practice