Added
- Add optional
OPENLDAP_BOOTSTRAP_DATA_ADMINfor a real directory administrator
entry that can manage users/groups and reset their passwords, while protecting
service accounts, its own account, password hashes/history andcn=config.
Document how this scoped administrator differs from the data/config root DNs
and the application management account. - Expose management account hidden attributes through
OPENLDAP_BOOTSTRAP_DATA_MANAGEMENT_HIDDEN_ATTRIBUTESand
OPENLDAP_BOOTSTRAP_DATA_MANAGEMENT_HIDDEN_PPOLICY_ATTRIBUTES. - Add optional
OPENLDAP_BOOTSTRAP_DATA_TREEto create users, groups and services
OUs, andOPENLDAP_BOOTSTRAP_DATA_MANAGEMENTfor one scoped application account.
By default, it reads users/groups and resets user passwords, including with ppolicy
safe modification, without hash/history reads or writes to profiles, memberships,
service accounts or configuration. Both features are disabled by default. - Add
openldap-ctl validate-ldiffor files and directories to check data entry LDIF
syntax, values and schemas without importing entries or stopping slapd. - Expose bootstrap settings for pending request limits, incoming LDAP message sizes
and blocked network write timeouts, preserving OpenLDAP defaults. - Add
OPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_MIN_DELAYandOPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_MAX_DELAY
for progressive per-account lockouts after failed authentications (disabled by default). - Add
openldap-ctl password hash --fileand--stdinto hash secrets without
passing their contents as command arguments. - Add
OPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_MAX_IDLEto reject logins after a
configurable period of inactivity (disabled by default). - Add optional
openldap-tls-reloadservice to restart slapd after TLS file
contents change, ignoring duplicate events and unchanged projected volumes. - Default
OPENLDAP_BOOTSTRAP_MODULEStoautoto load base and enabled feature
modules; explicit lists retain full control over module selection and order. - Add optional file-based auditing with
OPENLDAP_BOOTSTRAP_AUDITLOG
andOPENLDAP_BOOTSTRAP_AUDITLOG_FILE. - Add
OPENLDAP_BOOTSTRAP_DATA_LAST_BINDandOPENLDAP_BOOTSTRAP_DATA_LAST_BIND_PRECISION
to track successful LDAP authentications inpwdLastSuccess(disabled by default). - Add
OPENLDAP_BOOTSTRAP_REFINT_NOTHING_DNto configureolcRefintNothingand
automatically bootstrap a passwordless replacement role for empty groups. An empty
DN disables both, preserving the default behavior. - Test default behavior, automatic role creation and preservation of a group after
deletion of its last real member.
Changed
-
Keep password-history ACL fragments in their account feature directories as
.ldif.optional.templatefiles, activated withmvby the account scripts.
The helper only renders/copies fragments; final assembly ignores inactive files.
Read-only history overrides must use64-database-readonly-ppolicy-acl.ldif. -
Rename bootstrap feature flags
OPENLDAP_BOOTSTRAP_MONITOR_ENABLEDand
OPENLDAP_BOOTSTRAP_AUDITLOG_ENABLEDtoOPENLDAP_BOOTSTRAP_MONITORand
OPENLDAP_BOOTSTRAP_AUDITLOG. Update deployment environments to the new names;
the previous names are no longer read. -
Align management bootstrap scripts, directories and LDIF filenames with the
existingdatabase-readonlyconvention by usingdatabase-management.
Custom LDIF overrides must use the new filenames.
Fixed
-
Allow management password changes carrying the old password, as used by
Authelia, while keeping password hashes/history and LDAP Compare protected. -
Restore passing build checks by using Go 1.26.10 (fixing GO-2026-6809 in the
build toolchain) and satisfying the password-history test's staticcheck rule. -
Hide
pwdHistoryfrom the data read-only account when ppolicy is enabled
on new bootstraps, preserving normal ACL evaluation, custom overrides and
history replication. -
Create bootstrap, schema conversion and TLS watcher temporary files under
/run/container/tmpinstead of relying on a writable/tmp. -
Render bootstrap LDIF templates in a temporary writable copy, allowing read-only
sources and Kubernetes projected-volume symlinks without modifying source files.
Documentation
- Pin image examples to
osixia/openldap:2.6.15and quote the Quickstart
password placeholder so the shell does not interpret it as redirections. - Align documentation with the renamed monitor and auditlog bootstrap flags.
- Simplify LDIF validation documentation to one
docker execexample, with support
for multiple files or a directory described in text. - Use temporary containers for password hashing from local files or standard input.