Join our Newsletter — 33% off our NHI Course
Home› FAQ› Architecture & Implementation› What do teams get wrong when they try…
Architecture & Implementation

What do teams get wrong when they try to build an Active Directory alternative from separate open source projects?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 25, 2026 Domain: Architecture & Implementation

The common mistake is treating directory service, endpoint management, and lifecycle governance as independent problems. In practice, they must work together for access to stay consistent across users, devices, and applications. If the tools are not pre integrated, teams spend more time stitching systems together and less time enforcing baseline controls, revoking access cleanly, and keeping the environment usable.

Where the architecture usually goes off the rails

Teams often start by picking a directory replacement, then bolt on device management and access governance later. That order creates a gap between source of truth and enforcement: identities may exist, but they are not yet tied to device trust, account state, or entitlement decisions in a way that operations can rely on.

The result is not just extra integration work. It is a control problem: if lifecycle events, policy evaluation, and endpoint state are owned by different stacks, revocation becomes slower, exceptions multiply, and the directory stops behaving like a coordinated access plane.

In practice, the hardest part is not authenticating a user once. It is keeping the same user, device, and application posture consistent across joins, moves, changes, resets, and removals without creating manual reconciliation work.

Why separate open source projects do not behave like one directory platform

Open source components can each be strong in their own lane, but an active directory alternative has to do more than expose login and group membership. It has to preserve policy continuity across provisioning, authentication, authorization, and deprovisioning, while also handling device state, recovery paths, and administrative change safely.

When teams assemble those parts independently, they often discover hidden coupling too late. For example, the directory may know who a user is, but the endpoint system may still trust an old device, and the lifecycle system may still think the account is active. That mismatch creates friction for users and blind spots for defenders.

This is why “integration” is not an afterthought. The control plane has to be designed as a whole, otherwise each project can be correct locally while the combined environment is inconsistent globally. The architecture ends up optimized for deployment, not for access governance.

Open source is also where many teams underestimate operational ownership. A directory replacement is not only software selection, it is schema decisions, sync logic, recovery design, logging, and long-term maintenance. The more those concerns are split across projects, the more fragile the overall trust model becomes.

What good looks like when the directory, endpoint, and lifecycle layers are actually aligned

A workable alternative behaves like one coordinated identity system, even if it is built from multiple projects. Provisioning should create usable access, endpoint enrollment should reinforce that access, and deprovisioning should remove it without relying on a cleanup queue or a human chase-down step.

The key test is whether an operator can answer three questions from the same model: who should have access, from which device or session state, and for how long. If the answer depends on reconciling several dashboards by hand, the replacement is still a set of tools, not a directory architecture.

Teams also need to decide where policy lives. If access rules are scattered across the directory, endpoint tooling, and lifecycle automation, then every exception becomes a bespoke integration. A stronger pattern is to keep one authoritative lifecycle and access model, then let the other components enforce it consistently.

For readers building this kind of stack, NHI Lifecycle Management Guide is useful because it frames provisioning, rotation, offboarding, and visibility as one control problem rather than separate tasks. For the supply-chain side of composing open source components, PyPI Breach and LiteLLM PyPI package breach are useful reminders that dependency trust and credential exposure can turn an integration choice into an access problem.

Risk and Threat Considerations

The main risk is not that one component fails, it is that inconsistent state persists across components long enough to create stale access, orphaned accounts, or overbroad trust. In a mixed stack, attackers and insiders both benefit from the delay between a lifecycle change and full enforcement.

Failure mechanism: Separate systems keep different views of identity, device trust, and entitlement state, so revocation, rotation, and policy changes do not land everywhere at once. That gives old credentials, old sessions, or old device trust a longer window to remain usable.

Impact: The organisation gets weaker offboarding, more residual privilege, and a larger blast radius when a credential, device, or integration is compromised. The environment may still look functional while access control is quietly drifting out of sync.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack surface, NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCovers lifecycle control of credentials used across directory and access systems.
AC-2 — Account ManagementDirectly applies to provisioning, deprovisioning, and account state consistency across systems.
AC-6 — Least PrivilegeAddresses overbroad access that emerges when separate systems drift out of sync.
Recommendation — Manage credential issuance, rotation, and revocation so access changes propagate cleanly. Centralize account lifecycle actions so joins, moves, and leaves are enforced consistently. Limit entitlements to the minimum set needed and remove standing excess access.
ISO/IEC 27001:2022A.5.16 — Identity managementRelevant because the question is about coordinating identity, devices, and access across tools.
A.5.18 — Access rightsApplies to granting, reviewing, and removing access across a replacement directory stack.
Recommendation — Define one identity source of truth and align dependent systems to it. Review access rights on a lifecycle basis and revoke them when the need ends.
CIS Controls v8CIS-5 — Account ManagementThe subject turns on coordinated account lifecycle, especially provisioning and removal.
CIS-6 — Access Control ManagementRelevant to enforcing consistent authorization across directory, endpoint, and app layers.
Recommendation — Automate account creation, review, and removal across all connected systems. Enforce consistent authorization rules and remove unnecessary access paths.
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingThe question centers on failure to remove access cleanly when systems are stitched together.
NHI-05 — Overprivileged NHISeparate projects often produce excess permissions and inconsistent control surfaces.
NHI-08 — Environment IsolationRelevant where inconsistent integration causes access bleed between users, devices, and apps.
Recommendation — Ensure offboarding revokes every dependent credential, token, and access path. Constrain permissions so no component retains broader access than it needs. Separate environments and trust zones so access does not leak across boundaries.

Practitioner Guidance

What to prioritise: Treat lifecycle consistency as the first design requirement, not the last integration task. If the platform cannot reliably propagate joiner, mover, and leaver changes across directory, device, and application layers, it is not ready to replace a centralized directory service.

What to verify: Test revocation, not just login. Confirm that a deprovisioned user loses access across all dependent systems quickly, that stale device trust is removed, and that exceptions are visible enough to investigate rather than quietly accumulating.

Practitioner takeaway: The real failure mode is fragmented control of access state, because a directory replacement only works when identity, endpoint posture, and lifecycle enforcement move together.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 25, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org