Repository navigation
v1.5.0
Adds an admin-only page that lists accounts whose LDAP password is expiring — the display half of the reminder feature requested in ldap-selfservice-password-changer#628. No scheduler and no mail: this is the roster an operator reads, not an outbound notifier.
Password-expiry roster
/password-expiry resolves expiry live through simple-ldap-go v1.13.0 and renders each account with one of four states — expiring (with the deadline), must-change, never-expires, unknown. It defaults to accounts due within a window (?days=, default 30, capped at 366) and offers a Show all accounts toggle that adds the never-expires and unknown rows. Expiry is read from the directory, not the background cache, which cannot compute it, and on OpenLDAP it needs the ppolicy overlay; accounts the directory reports nothing about show as unknown rather than being guessed at.
The page is admin-only. A new LDAP_ADMIN_GROUP (--admin-group) names the group whose members may see it; an account also counts as admin if it carries Active Directory's adminCount=1. On OpenLDAP, which has no adminCount, the group is the only way to grant access. Membership is read from memberOf — Active Directory populates it automatically, OpenLDAP needs the memberof overlay. adminCount is sticky (AD never clears it on de-privilege), so prefer group membership where access should track current privilege. (#626)
Fixed
- DOM XSS in the command palette — the navigation target is validated before it is followed. (#625)
- End-to-end tests migrate to the renamed
playwright-gomodule. (#621)
Dependencies
Routine Renovate/Dependabot updates across Go modules, Docker base images (Alpine 3.24.1, docker/dockerfile v1.25) and CI actions.
Full changelog: v1.4.1...v1.5.0
Container image
ghcr.io/netresearch/ldap-manager:1.5.0
ghcr.io/netresearch/ldap-manager:1.5
ghcr.io/netresearch/ldap-manager:1
Verify your download
Per-asset signatures are bundled. Verify any single file:
cosign verify-blob \
--bundle ldap-manager-linux-amd64.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
ldap-manager-linux-amd64Verify checksums against the signed manifest:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
checksums.txt
sha256sum -c checksums.txt --ignore-missingVerify build provenance. Releases are built by a reusable
workflow, so the signing identity is that workflow rather than
this repository -- --signer-workflow is required and
verification fails without it:
gh attestation verify <artifact> \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlVerify container image:
cosign verify ghcr.io/netresearch/ldap-manager:1.5.0 \
--certificate-identity-regexp "^https://github\.com/netresearch/\.github/\.github/workflows/release-go-app\.yml@" \
--certificate-oidc-issuer "https://token.actions.githubusercontent.com"
gh attestation verify oci://ghcr.io/netresearch/ldap-manager:1.5.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.yml