github osixia/container-openldap 2.6.15

45 minutes ago

Added

  • Add optional OPENLDAP_BOOTSTRAP_DATA_ADMIN for a real directory administrator
    entry that can manage users/groups and reset their passwords, while protecting
    service accounts, its own account, password hashes/history and cn=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_ATTRIBUTES and
    OPENLDAP_BOOTSTRAP_DATA_MANAGEMENT_HIDDEN_PPOLICY_ATTRIBUTES.
  • Add optional OPENLDAP_BOOTSTRAP_DATA_TREE to create users, groups and services
    OUs, and OPENLDAP_BOOTSTRAP_DATA_MANAGEMENT for 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-ldif for 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_DELAY and OPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_MAX_DELAY
    for progressive per-account lockouts after failed authentications (disabled by default).
  • Add openldap-ctl password hash --file and --stdin to hash secrets without
    passing their contents as command arguments.
  • Add OPENLDAP_BOOTSTRAP_PPOLICY_DEFAULT_MAX_IDLE to reject logins after a
    configurable period of inactivity (disabled by default).
  • Add optional openldap-tls-reload service to restart slapd after TLS file
    contents change, ignoring duplicate events and unchanged projected volumes.
  • Default OPENLDAP_BOOTSTRAP_MODULES to auto to 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
    and OPENLDAP_BOOTSTRAP_AUDITLOG_FILE.
  • Add OPENLDAP_BOOTSTRAP_DATA_LAST_BIND and OPENLDAP_BOOTSTRAP_DATA_LAST_BIND_PRECISION
    to track successful LDAP authentications in pwdLastSuccess (disabled by default).
  • Add OPENLDAP_BOOTSTRAP_REFINT_NOTHING_DN to configure olcRefintNothing and
    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.template files, activated with mv by the account scripts.
    The helper only renders/copies fragments; final assembly ignores inactive files.
    Read-only history overrides must use 64-database-readonly-ppolicy-acl.ldif.

  • Rename bootstrap feature flags OPENLDAP_BOOTSTRAP_MONITOR_ENABLED and
    OPENLDAP_BOOTSTRAP_AUDITLOG_ENABLED to OPENLDAP_BOOTSTRAP_MONITOR and
    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
    existing database-readonly convention by using database-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 pwdHistory from 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/tmp instead 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.15 and 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 exec example, with support
    for multiple files or a directory described in text.
  • Use temporary containers for password hashing from local files or standard input.

Don't miss a new container-openldap release

NewReleases is sending notifications on new releases.