• v1.35.0 22cc96d1c0

    LDAP WebGUI v1.35.0
    All checks were successful
    Tests / Scope (push) Successful in 1s
    Tests / pytest (newest CPython, warning only) (push) Has been skipped
    Tests / shellcheck (install.sh, update.sh, bootstrap-ldap.sh, webupdate.sh, get_ldap-webgui.sh, setup.sh, config-backup.sh, certtool.sh, accesstool.sh) (push) Successful in 30s
    Tests / pytest (Python 3.13) (push) Successful in 22m16s
    Tests / pytest (Python 3.14) (push) Successful in 23m51s
    Tests / Publish release (push) Successful in 3s
    Stable

    Lyra released this 2026-11-12 00:20:18 +01:00 | 2 commits to main since this release

    Upgrade notes

    • One manual step for a directory with more than 500 entries in an
      area
      (users, groups or sudo rules) whose bind account has no
      olcLimits line yet. slapd counts its size limit over the whole paged
      search, so the WebGUI's bind account needs
      olcLimits: dn.exact="<bind DN>" size.prtotal=unlimited on the data
      database. On the directory host an update at a terminal shows the line,
      asks and adds it; the web update never writes to slapd and names
      sudo ldap-webgui-update --ldap-limits instead. With slapd on another
      host, the update to this release shows the ready ldapmodify once.
      An existing size=unlimited line (recommended since 1.32) stays valid
      — nothing to do; keep it if you may go back below this release.
      Smaller directories need nothing. docs/ldap-acl-setup.md → Size
      limit for the bind account
      .
    • The nginx vhost is unchanged in this release.

    Added

    • Areas of any size: every directory read — the user, group and
      sudo-rule lists, the Machines page, a group's primary members, the
      search for the next free uidNumber/gidNumber — runs as a paged search
      (pages of 250) and returns the whole area; filters always search all of
      it. Where slapd still cuts the result, the page fails with the exact
      olcLimits line for the configured bind DN instead of showing a
      partial list, and automatic IDs are refused, as before.
    • update.sh --ldap-limits and a check after every update: is this
      host the directory host (slapd active here, a database for
      ldap.base_dn, ldap.host one of this host's addresses)? Then the
      bind account's line is in place, or offered. A broader olcLimits
      value in front of it (users, *, a subtree …) wins over it in
      slapd — reported with the list in the right order, never reordered
      automatically. A failed check is a warning, never a failed update.
    • bootstrap-ldap.sh sets the line on the directory it builds; an
      existing value for the bind account is left as it is.

    Changed

    • The CSV export reads the users once instead of once per 200 rows.
    • docs/ldap-acl-setup.md: size.prtotal=unlimited is the recommended
      line; the pitfalls size.hard alone, size.pr, root over ldapi:///
      (not exempt) and the order of olcLimits values.

    Fixed

    • Detail pages no longer report a failed read as "not found". A user,
      group or sudo rule whose read hits a directory limit (or fails
      otherwise) now shows "Could not read …" with the cause; "not found"
      only when the entry really does not exist. Same for the sudo toggle on
      the user page.

    Update without git access: download the source tar.gz below, extract it, then run the update.sh it contains:
    sudo bash <extracted-dir>/update.sh --archive <tarball>

    Downloads