SLAPD-PASSWD(5)

🌸 SLAPD-PASSWD πŸ’…

okay bestie so this is the manual page for slapd-passwd, living in the File Formats Manual zone ✨ and it's literally the /etc/passwd backend to slapd, no cap 🫢


✨ NAME ✨

slapd-passwd β€” the /etc/passwd backend to slapd πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

/etc/openldap/slapd.conf

πŸ’– DESCRIPTION πŸ’–

so the PASSWD backend for slapd(8) serves up all the user account info listed in your system's passwd(5) file 🌸 that's the whole vibe.

real talk: this backend is provided for demonstration purposes only πŸ™ˆ like it's cute for messing around, but it is not the main character for production, iykyk.

the DN of each entry is:

"uid=<username>,<suffix>"

which is giving very straightforward, very demure πŸŽ€

also super important: non-base searches scan the entire passwd file 😭 so this backend is best suited for hosts with small passwd files. if your passwd file is a whole novel, bestie… reconsider πŸ’€

πŸŽ€ CONFIGURATION πŸŽ€

this slapd.conf option applies to the PASSWD backend database, periodt ✨ which means it must follow a "database passwd" line and come before any subsequent "backend" or "database" lines 🫢 order matters, she's strict like that πŸ’…

other database options are described in the slapd.conf(5) manual page, go check her out πŸ’œ

⭐ Options ⭐

  • file <filename> β€” specifies an alternate passwd file to use 🌈 the default is /etc/passwd ✨

πŸ”₯ ACCESS CONTROL πŸ”₯

ngl this part is important and a little iconic in a chaotic way: the passwd backend does not honor any of the access control semantics described in slapd.access(5) 😳

the only thing honored is read (=r) access to the entry pseudo-attribute and to the other attribute values of the entries returned by the search operation β€” and that honor is performed by the frontend, not by this backend 🧚

so basically: don't come here expecting the full access-control slay. she's on a limited menu πŸ’€

🌸 FILES 🌸

  • /etc/openldap/slapd.conf β€” default slapd configuration file πŸŽ€
  • /etc/passwd β€” user account information πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘

slapd.conf(5), slapd(8), passwd(5) πŸ’–


and that's the whole page bestie, you ate it 🫢 this was OpenLDAP 2.7.2, dated 2026/10/21 β€” go forth and configure responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from