Repository navigation
Releases
v1.9.0
Highlights
TLS settings for LDAPS connections. Five new settings shape the TLS connection to an ldaps:// server: LDAP_TLS_MIN_VERSION, LDAP_TLS_MAX_VERSION, LDAP_TLS_CIPHER_SUITES, LDAP_TLS_CA_FILE and LDAP_TLS_SERVER_NAME, each with a matching flag (#738 by @CybotTM, requested by @NoJokeFNA in #737). Go has not offered cipher suites with static RSA key exchange by default since 1.22, so a directory server that offers only such a suite, as some eDirectory installations do, failed the handshake with remote error: tls: handshake failure. Naming the suite, for example LDAP_TLS_CIPHER_SUITES=TLS_RSA_WITH_AES_256_GCM_SHA384, enables it. LDAP_TLS_CA_FILE adds CA certificates to the system trust store, and LDAP_TLS_SERVER_NAME sets the host name for SNI and certificate verification. Contradictory settings stop the app at startup with a configuration error. A weak cipher suite, a minimum below TLS 1.2 and TLS settings on an ldap:// server are logged as warnings. Without these settings the client keeps the Go defaults, as before. The settings are described in SSL/TLS for LDAPS.
Security: Go 1.27.4 and a Debian 13 runtime image. The binaries and the container image are built with Go 1.27.4, which fixes GO-2026-6859 (CVE-2026-97054), an HTTP/1 server crash in net/http (#727). govulncheck reports the affected package as reachable from this code. The runtime image moves from distroless static-debian12 to static-debian13 (#731, #735 by @CybotTM): the Debian 12 image still shipped ca-certificates 20250419~deb12u1, which trusts the compromised eMudhra and Comodo roots (DLA-4845-1), and an outdated tzdata. The image still publishes linux/amd64, linux/arm/v7 and linux/arm64. Update to this release.
Changes
- Go module dependencies are updated, among them
gofiber/fiber/v33.7.0 (#726),a-h/templ0.3.1118 (#718, #730) andgofiber/storage/bbolt/v22.2.7 (#719, #720, #728, #732). - Development environment: the OpenLDAP containers of the dev stack, the integration tests and the e2e tests run
osixia/openldap2.6.15 instead of 1.5.0 (#741 by @CybotTM). The dev stack uses new volumes and creates a self-signed LDAPS certificate on its first start, so an existing setup starts with fresh seed data afterdocker compose --profile dev up -d. - Tests and CI: the OpenLDAP-backed web tests run in the integration job instead of being skipped (#723), gremlins now reads the mutation testing configuration (#734), and the companion browser checks run again on the Ubuntu 26.04 runner (#740), by @CybotTM.
Full changelog: v1.8.1...v1.9.0
Container image
ghcr.io/netresearch/ldap-manager:1.9.0
ghcr.io/netresearch/ldap-manager:1.9
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.9.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.9.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.8.1
Highlights
Security: built with Go 1.27.3. The binaries and the container image are built with Go 1.27.3 instead of 1.27.1. Go 1.27.3 makes crypto/x509 reject certificate chains that contain the compromised eMudhra intermediate certificates (CVE-2026-111943, golang/go#82345). This covers the TLS connection to the LDAP server. v1.8.0 was built with Go 1.27.1 and accepts those chains. Update to this release.
Changes
- Go module dependencies are updated, among them
gofiber/fiber/v33.6.1 (#708),go-ldap/ldap/v33.4.15 (#704),a-h/templ0.3.1070 (#702),gofiber/storage/bbolt/v2(#709) andvalyala/fasthttp1.76.0 (#713), by @CybotTM. - The companion fixture server answers a malformed escape with 400 (#700), by @CybotTM.
- No configuration option, endpoint or behaviour changes.
Full changelog: v1.8.0...v1.8.1
Container image
ghcr.io/netresearch/ldap-manager:1.8.1
ghcr.io/netresearch/ldap-manager:1.8
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.8.1 \
--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.8.1 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.8.0
v1.8.0 adds an animated wizard gopher to the login page.
Animated wizard on the login page
The login page shows a cel-shaded wizard gopher that follows the pointer and performs a staff strike when it is activated or the login form is submitted (#690 by @jonasgwozdz). On submit the native POST waits for 1.4 seconds of animation progress and then replays once with its original submitter and CSRF field. A four-second safety deadline releases the login if rendering stalls, and hidden, removed, paused or failed avatars release it at the next timer check, so the animation cannot block authentication. Reduced motion and unavailable WebGL 2 submit immediately, and the application logo stays as the fallback without JavaScript. The avatar reads no credentials. Three.js 0.186.1 is vendored and served locally under the existing CSP.
Tests and CI
@CybotTM added the companion's browser checks to CI and changed the E2E login helper to wait for the resulting navigation instead of sleeping a fixed 500 ms, which the delayed submit had broken (#690). The repository also carries an OpenSSF Best Practices answer file (#692).
Full changelog: v1.7.0...v1.8.0
Container image
ghcr.io/netresearch/ldap-manager:1.8.0
ghcr.io/netresearch/ldap-manager:1.8
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.8.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.8.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.7.0
The LDAP connection pool is wired for the first time, a failed login over plain HTTP now names its cause, and one new setting, TRUSTED_PROXIES, lets you name the peers whose X-Forwarded-* headers this app believes.
Added
TRUSTED_PROXIES / --trusted-proxies takes comma-separated IP addresses or CIDR ranges (#681, by @CybotTM). The default is the list the code carried hard-coded — 127.0.0.0/8, ::1/128, 172.16.0.0/12 — so an upgrade changes nothing. A TLS terminator on another network, such as a Kubernetes pod range or an external load balancer, could not be trusted before; the app then read its own scheme as plain HTTP, which the CSRF middleware answers with csrf: origin does not match host. Keep the list narrow, because it also decides whose X-Forwarded-For the login rate limiter counts against. Entries are validated at startup, and an IPv4-mapped entry is refused: ::ffff:0:0/96 parses as 0.0.0.0/0 and would trust every IPv4 peer there is.
Fixed
The LDAP connection pool exists now (#684, closing #677). The seven LDAP_POOL_* settings were parsed and read by nobody, so the service account client ran on direct connections and both health endpoints, which gate on pool statistics, reported failure: /health said overall_healthy: false and /health/ready answered 503 whenever a service account was configured. The pool is attached to the service account client alone — the per-request clients built from a logged-in user's credentials stay unpooled, or every login would warm a pool of its own. LDAP_POOL_MAX_LIFETIME is accepted and has no effect, because the library's pool keeps no connection age; it warns when set, and the documentation no longer recommends it.
A failed login over plain HTTP now says why (#679, reported by @grinapo in #678). Cookies are marked Secure by default, and a browser keeps such a cookie over plain HTTP only for loopback addresses. Reaching the app by IP or hostname over http:// therefore left every login POST without its CSRF cookie, and the middleware answered csrf: token invalid, which names the token rather than the cause. The log now names COOKIE_SECURE, the README marks the Quick Start as loopback-only, and a Production setup section states what a real deployment needs.
The command palette navigates by origin comparison (#685). Its guard against a tampered data-href inspected the first two characters, and browsers strip tabs and newlines before navigating, so "/<TAB>/evil.example" passed it and went cross-origin. The URL is no longer read back from the DOM at all: each row keeps its entry, and the link is rebuilt from it.
docker build --target=dev works again, and the three base images are pinned by the digest of their multi-arch index (#685). The stage still installed bun through curl | bash and copied package.json and bun.lock, both removed when the frontend went Go-only.
/debug/ldap-pool keeps reporting real numbers after the simple-ldap-go upgrade (#676): the client asks for EnableMetrics explicitly, so GetPoolStats() returns measurements instead of zeros indistinguishable from an idle server.
Changed
simple-ldap-go v1.16.0 → v1.18.1 (#684, #685). v1.18.0 makes GetPoolStats report the pool's real counts and honours the optimization flags; it also removed the host-name mock, so a client built against a fixture host now dials it. v1.18.1 carries a fix contributed from this work: the pool read a connection's fields after handing it back, which raced a concurrent Get (simple-ldap-go#254).
Go 1.27.0 directive, toolchain go1.27.1 (#683).
The two broken compose dev containers are gone (#687). ldap-manager-dev built the release stage from binaries that no local build produces, ldap-manager-test ran make check without the linters installed, and neither had worked since April. nginx now proxies https://localhost:8443 to the app run with make dev.
Upgrading
No action is required. The trusted-proxy default matches the previous hard-coded list, and no setting changes meaning. Two things become visible that were silent before: a deployment with a service account now passes /health/ready instead of answering 503, and LDAP_POOL_MAX_LIFETIME logs a warning where it is set.
Full changelog: v1.6.0...v1.7.0
Container image
ghcr.io/netresearch/ldap-manager:1.7.0
ghcr.io/netresearch/ldap-manager:1.7
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.7.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.7.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.6.0
v1.6.0 moves the web layer to Fiber v3, fixes a CSRF regression in the bulk toolbar, and hardens the bundled LDAP library.
Fiber v3
The HTTP layer migrated from Fiber v2 to v3 (#662). Operators should know two wire-visible changes: unauthenticated redirects now answer 303 See Other instead of 302 Found — health checks matching on 302 need updating, and the runbooks in docs/operations/ already are — and JSON responses carry ; charset=utf-8. The migration also inherits two hardenings from v3: the CSRF middleware additionally enforces Origin/Referer/Sec-Fetch-Site consistency on unsafe methods, and c.IP() now resolves the real peer past the trusted proxies instead of echoing the raw client-controlled X-Forwarded-For — which strengthens the login rate limiter against forged-XFF evasion. Sessions run on v3's pooled store, static assets on the v3 static middleware, and a red-green-verified test now pins the static mount.
Fixed
Bulk toolbar POSTs send the CSRF token again, so bulk actions work under the strict token check (#659) — reported by @NuLL3rr0r in #652.
Security
The bundled simple-ldap-go moved to v1.16.0, closing its CheckPasswordForDN user-enumeration timing oracle upstream (simple-ldap-go#219, #665); moby/go-archive carries a security update (#650).
Maintenance
Go toolchain go1.27.0 (#653, #655); all Go dependencies updated and the pre-commit chain repaired — its goimports hook id never existed and the prettier hook could not resolve its plugins (#661). Renovate no longer manages Go modules; Dependabot owns them, ending duplicate racing update PRs (#664). The unsafe test-fixture writes promised gone in the v1.5.1 notes are gone — cachetest builds fixtures via ldap.NewObject (#633).
Full Changelog: v1.5.1...v1.6.0
Container image
ghcr.io/netresearch/ldap-manager:1.6.0
ghcr.io/netresearch/ldap-manager:1.6
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.6.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.6.0 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.5.1
A maintenance release. No feature changes and no behaviour changes; the substance is a toolchain bump that clears real advisories, and two quality gates that were reporting less than they appeared to.
Security
The Go toolchain moves to 1.26.5 (module go 1.26, toolchain go1.26.5). This clears the standard-library advisories govulncheck reported as affecting the binary — among them GO-2026-5856 (crypto/tls), GO-2026-5039 (net/textproto), GO-2026-5037 (crypto/x509) and GO-2026-4971 (net).
Not a security fix, despite appearances
gosec became a blocking check and flagged four sites here. None was a defect. They previously carried //nolint:gosec comments, which only golangci-lint reads; they now carry #nosec annotations that state a reason gosec itself records. No code behaviour changed.
- G402 (TLS verification disabled) —
TLSSkipVerifyis a plain bool, defaultfalse, set only by an operator throughLDAP_TLS_SKIP_VERIFY/--tls-skip-verify, and enabling it logs a startup warning. It is never derived from request data. - G404 (weak randomness) — supplies backoff jitter in
internal/retry. No token, nonce or session ID. - G103 (unsafe) ×2 — the test-fixture helpers write simple-ldap-go's unexported
Object.dn/cnthrough reflection, because that library exposed no constructor taking them. It now has one as of v1.14.0; theunsafegoes once that release is picked up here.
Mutation testing was measuring nothing
The *_templ.go sources are generated and not committed, so gremlins could not compile internal/web/templates — nor internal/web and cmd/ldap-manager, which depend on it. It reported the three as [build failed] and stopped without producing a score at all, so the job published 0% and stayed green. internal/web is the handler, auth and routing layer.
The run now generates the templ sources first, and a build failure fails the job instead of passing silently. First score over the full tree: 57.07%.
Dependencies
github.com/gofiber/storage/bbolt/v2 v2.1.8 → v2.1.9.
Full changelog: v1.5.0...v1.5.1
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.ymlv1.4.1
Changes
- chore(release): v1.4.1 — fix release pipeline + README badges (#591)
- docs(changelog): note Bun removal in v1.3.0
- chore(release): v1.4.1 — fix release pipeline + README badges
Full changelog: v1.4.1-rc2...v1.4.1
Container image
ghcr.io/netresearch/ldap-manager:1.4.1
ghcr.io/netresearch/ldap-manager:1.4
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.bundle \
--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.bundle \
--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.4.1 \
--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.4.1 \
--repo netresearch/ldap-manager \
--signer-workflow netresearch/.github/.github/workflows/release-go-app.ymlv1.4.0
Phase 3 — Relationship graph view
LDAP Manager now lets you see how users, groups and computers are connected, not just list them.
Open any user, group or computer's drawer and click View relationships — the graph view shows the entity at the centre with concentric rings of related entities radiating outward. Direct memberships sit on ring 1, transitive relationships on rings 2 and 3. Hover or focus a node to highlight every edge it touches; click the + badge on a group to fetch and merge another hop's worth of relationships into the visible graph; click − to roll a sub-tree back up.
The layout is weighted: nodes with more connections appear visibly larger, and children of the same parent share an arc on their ring so clusters of related entities form spokes radiating outward from the focus instead of being shuffled alphabetically.
The page works without JavaScript — the SVG is server-rendered and a flat AAA-equivalent edge table is always present below the canvas. With JavaScript on, the SVG gains pan (mouse drag, arrow keys) and cursor-anchored zoom (Ctrl/Meta + wheel). Keyboard contract: Tab cycles nodes, Enter pivots to the entity's detail page, +/− expand and collapse.
A new GET /api/graph.json?entity=<dn>&depth=<N> endpoint returns the same data as JSON with sha256 ETag and 304 Not Modified support — useful for external integrations and what powers the dynamic expand action.
List | Table | Graph view selection
Every list page (/users, /groups, /computers) now offers a segmented toggle between three views, and your choice sticks across pages and sessions via a 30-day cookie:
- List — the existing detail-drawer view with filter chips and OU rail.
- Table (new) — full-width scannable table without the filter rail or drawer. Optimised for browsing many rows at once. Includes a live search input and sortable column headers (server-side, URL-captured so back/forward and bookmarks work).
- Graph — the same relationship graph view, but rendered for the filtered list (groups for users-on-the-page, members for groups-on-the-page, etc.).
Active filters (?ou=, ?memberOf=, ?show-disabled=, …) are preserved across view switches, so picking Table on a filtered /users view keeps you on the same subset.
Bug fixes
- AD computer accounts no longer appear in the users list. Active Directory's
objectClass=userfilter matches computer accounts (computers inherit from user in the AD schema), and simple-ldap-go's broad query was leaking machine accounts into/users. Fixed at the cache layer so the users page on AD-backed deployments now shows only real users.
Accessibility
- The graph view targets WCAG 2.2 Level AA. The flat edge table below the canvas provides an AAA-equivalent text alternative for every interaction and relationship the visual canvas displays.
- All graph colour tokens are AAA-verified by the existing
internal/web/contrast_test.go. The new graph pages are also covered by an axe-core ratchet that runs on every CI build. - No keyboard trap (Tab leaves the graph naturally to the next page element). Aria-live region announces expand/collapse.
- Dark/console mode (the dark theme also switches the body to a monospace font) was thoroughly polished — node disc colours, table headers, segmented toggle hover states, native depth slider, and SVG text labels all honour the theme.
Internal
Phase 3 was driven by the design spec at docs/superpowers/specs/2026-04-24-phase-3-graph-view-design.md and the implementation plan at docs/superpowers/plans/2026-04-24-phase-3-graph-view.md — six slices, each merged independently:
| PR | Slice |
|---|---|
| #581 | In-memory graph builder |
| #582 | /api/graph.json JSON endpoint |
| #584 | SSR HTML page |
| #585 | Interactive JS layer |
| #586 | List-page Graph mode |
| #587 | Drawer pivot + axe-core ratchet + README |
| #588 | Polish — Table view, persistent selection, weighting, dark-mode, AD computer-exclusion |
| #589 | Table search + sortable headers |
All commits are atomic, signed, DCO-compliant.
Known issue
Per-platform binary downloads (linux-amd64, linux-arm64, darwin-arm64, windows-amd64, etc.) are missing from this release — the upstream netresearch/.github reusable release workflow publishes the GitHub Release before the binary build matrix has a chance to attach assets, and GitHub's recent immutable-release enforcement then blocks the uploads. The release marker, source archives, and attestation are present; the container image at ghcr.io/netresearch/ldap-manager:main reflects this exact code via the separate container.yml workflow that runs on every push to main. A fix to the reusable workflow is in flight; v1.4.1+ will ship the per-platform binaries.
v1.3.0
ldap-manager grows up. This release is the full three-phase UI revamp — a new foundation (Pico CSS + htmx + Alpine in its CSP build), a new information architecture around a command palette and a side drawer, and all the power-browsing + bulk-action work that actually makes the tool useful for day-to-day admin. Backend, URLs, LDAP contract: unchanged. Everything visible to the operator: new.
What's new
New shell and layout. The Tailwind/PostCSS/bun toolchain is gone; every style now comes from a single hand-written app.css on top of Pico CSS v2. Pages use a three-pane layout on wide viewports (OU rail · list · detail drawer) that collapses into a single-pane disclosure on narrow. Topnav stays pinned under flex pressure — long lists no longer squash the header padding. F5 on a fragment URL (e.g. /users/<dn>?fragment=drawer) produces a scrollable full-page detail instead of a bare fragment. AAA contrast is mechanically verified at every theme/density permutation by a token-scanning test so the palette can't drift below 7:1.
Command palette. ⌘K / / opens a search over every loaded user, group and computer. The index is served from /api/search-index.json with a SHA-256 ETag so clients skip re-downloads, and a deterministic sort so the ETag is stable between identical cache refreshes. OU extraction uses the RFC-4514 DN parser so escaped commas like cn=Last\, First,ou=Sales,... no longer produce wrong OU pivots.
Side-panel drawer + per-user pins. Every list row opens a drawer with the full attribute table, pivot links (open full page, other users in this OU, groups for this user, etc.), and an inline editable panel for the top-level user attributes. Pins live in a per-user bbolt store; the path is configurable via --pinned-path / PINNED_PATH. On a read-only filesystem, open failures log a warning and continue without pinning instead of refusing to boot. User DNs are hashed into fixed-length bucket keys so deeply nested AD DNs don't blow past the 255-byte bbolt bucket-name ceiling.
Power browsing (ex-Phase 2). Faceted filters on /users, /groups, /computers: OU, enabled/disabled, last-logon (24 h / 7 d / 30 d / never), member-of. A toggleable OU tree rail sits next to the list. The user drawer gains inline attribute edit for email, description, displayName, title, department, company, phone, mobile, office — form-POST with CSRF, flash banner on failure.
Bulk actions (ex-Phase 3). Multi-select on the list pages, bulk bar across the bottom. /users/bulk takes add-to-group / remove-from-group / delete / disable. /groups/bulk takes add-members / delete. /computers/bulk takes delete / disable. Disable is Active-Directory-only and gated on Config.IsActiveDirectory in both the handler and the template, so non-AD backends still see a clean 501 with an explanatory message instead of a silent failure. Every bulk path sets a session-backed flash before redirecting; the receiving list page pops it and renders "Deleted N of M groups" (or the partial-failure / total-failure variant) above the filter row.
Surfacing silent LDAP failures. Modify handlers now humanise directory errors (Insufficient Access Rights → "The signed-in account doesn't have permission to make this change"; No Such Object → "The target entry no longer exists"; etc.) and render them in a drawer-level drawer__flash--error banner on htmx requests. An AD bounce that previously looked like a successful save is now visible.
AdminCount-based Privileged badge. Replaces the old English-only CN allowlist. Any user with AD's adminCount = 1 (members of protected groups: Domain Admins, Enterprise Admins, Administrators, Account Operators, Backup Operators, etc.) gets a shield icon in the list. Works on localised directories (Domänen-Admins) out of the box.
Nested group management. Parent / child edges on /groups/:dn with cycle-detection BFS, depth-capped at 32. Adding a parent group checks for ancestor cycles; adding a child checks for descendant cycles. No more accidentally self-referencing group graphs.
Dependency bump
github.com/netresearch/simple-ldap-go v1.11.0 → v1.12.0. New on the client: DisableUser / EnableUser / DisableComputer / EnableComputer (plus *Context variants), each read-modify-write on userAccountControl's ACCOUNTDISABLE bit (0x2) while preserving every other flag. User.AdminCount bool field. Exported ACCOUNTDISABLE = 0x2 constant.
Behavioural notes
- Disable is AD-only. OpenLDAP
inetOrgPersonhas no portable disable attribute; calls return a clear "userAccountControl attribute missing (not an Active Directory entry?)" error. Consumers should gate onConfig.IsActiveDirectorybefore offering the action in UI. AdminCountis sticky — AD does not clear it when a user leaves a protected group.truetherefore means "is or was privileged at some point", which is good enough for UI flagging but not for authorisation decisions.- Pinning becomes a no-op on a read-only filesystem instead of blocking boot. Operators who want persistent pinning must provide a writable
--pinned-path.
Quality
TestHeaderDoesNotShrinkWithLongLists— 200-user seed + three viewport sizes, asserts topnav height is identical on a list page and on/so body-flex pressure from long lists can't collapse the chrome.TestSelectAllAlignsWithSearch— bounding-box Y-center comparison, catches Pico's defaultlabel { margin-bottom }trying to push the chip off the baseline.TestFragmentURL_DirectNavIsScrollable— asserts computedhtmloverflow/height whenbody.has-page-scrollis set, so the scroll-clip bug can't return.TestAddRemoveGroupMembership+TestAddGroupAsNonAdminShowsFlash— Playwright journeys against OpenLDAP for the drawer's add/remove and the silent-failure → flash path.TestSearchIndex_ETagStableAcrossInvocations— three back-to-back fetches must produce the same ETag after the deterministic-sort fix.TestImmediateOU— 9 DN cases including escaped-comma regression.TestPinnedStore_LongUserDN— round-trip on a >255-byte DN.TestPinnedStore_NilReceiver— the nil-safe pinning API.
Full unit + e2e suites green: 202-user OpenLDAP seed, go test -tags e2e ./internal/e2e passes in under 90 s. golangci-lint run reports zero issues.
Upgrade
For tagged-image consumers: ghcr.io/netresearch/ldap-manager:v1.3.0 (linux/386, amd64, arm/v6, arm/v7, arm64). No config migration needed — all existing flags and environment variables keep working. New optional flag --pinned-path / PINNED_PATH (empty keeps the existing auto-placement under the session file's directory; sentinel values none / off / disabled skip the store entirely).
PR
#571 — 100+ atomic commits, 18/18 Copilot review threads resolved.