SLAPD-WT(5)

πŸ’– SLAPD-WT(5) πŸ’–

okay bestie, so this is a File Formats Manual page β€” the ✨ SLAPD-WT(5) ✨ one β€” and it's about the WiredTiger backend for slapd. Buckle up, it's short but it's spicy. 🌢️


✨ NAME ✨

slapd-wt β€” the WiredTiger backend to slapd. literally what it says on the tin, no notes πŸ’…


🌸 SYNOPSIS 🌸

/etc/openldap/slapd.conf

like... that's the whole synopsis. it's giving "config file" energy. iconic. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so the wt backend to slapd(8) uses the WiredTiger database library to store data. that's the whole thing. slay. πŸ’–

ngl though, hear me out: the wt backend is an experimental module, and it's got potential β€” highkey high write performance and high concurrency performance, fr fr. but it does NOT have some basic features yet. not me warning you twice: please back up your data using slapcat before you update the module. 🫢 i'm so serious. back it up. πŸ™ˆ


πŸ‘‘ CONFIGURATION πŸ‘‘

so these slapd.conf options apply to the wt backend database. and bestie, they have rules: they must follow a database wt line, and they have to come before any subsequent backend or database lines. order matters, iykyk. ✨

the other database options? those live over in the slapd.conf(5) manual page. not our problem here. πŸ’…

  • directory <directory> β€” this is where the WiredTiger home directory containing this database and its associated indexes lives. every single database needs its own separate directory, no sharing. the default is /var/lib/openldap/openldap-data. 🏠
  • idlcache <boolean> β€” turns on the in-memory idlcache. the default is true. ✨
  • index {<attrlist>|default} [pres,eq,approx,sub,<special>] β€” sets the indexes to maintain for the given attribute (or list of attributes). some attributes only support a subset of indexes, which is so rude of them honestly. if you only give an <attr>, then whatever you set for default is what gets maintained. and heads up bestie: setting a default does not mean every attribute will be indexed, okay? also β€” for best performance, an eq index should always be configured for the objectClass attribute. always. periodt. πŸ”₯
  • mode <integer> β€” plot twist: back-wt does not support the mode option. use umask instead. that's it, that's the option. πŸ’€
  • wtconfig {create,cache_size=512M,async=(enabled)} β€” this specifies the configuration for wiredtiger, and this parameter gets passed to wiredtiger_open(3). handing it the aux cord, basically. 🎧
    • create β€” create the database if it does not exist. ✨
    • cache_size β€” the maximum heap memory to allocate for the cache. πŸ’Ύ
    • async β€” asynchronous operations configuration options. it's disabled by default. πŸ¦‹

πŸ”₯ ACCESS CONTROL πŸ”₯

the wt backend honors access control semantics exactly as described in slapd.access(5). so you've got control, bestie. main character energy. πŸ‘‘


🌈 FILES 🌈

  • /etc/openldap/slapd.conf β€” the default slapd configuration file. πŸ“

⭐ SEE ALSO ⭐

slapd.conf(5), slapd-config(5), slapd(8), slapadd(8), slapcat(8), slapindex(8), slapmodify(8), and the WiredTiger documentation. go read them, they're all right there. πŸ’œ


🫢 ACKNOWLEDGEMENTS 🫢

OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from the University of Michigan LDAP 3.3 Release. and this page was Written by HAMANO Tsukasa <hamano@osstech.co.jp> β€” thank you bestie, we appreciate you. πŸŽ€


and that's the whole vibe check β€” this was OpenLDAP 2.7.2, dated 2026/10/21. no cap, that's the tea β˜•πŸ’– bye babes, back up your databases ✨

πŸ“¦ where this page comes from