Agentic AI Module Added To NHI Training Course
Home Glossary Authentication, Authorisation & Trust Lightweight Directory Access Protocol
Authentication, Authorisation & Trust

Lightweight Directory Access Protocol

← Back to Glossary
By NHI Mgmt Group Updated May 31, 2026 Domain: Authentication, Authorisation & Trust

A directory access protocol used to query and authenticate against central identity stores such as Active Directory. It is often used in on-premises and hybrid environments, where direct directory lookups are still needed for users, applications, devices, and service accounts.

Expanded Definition

Lightweight Directory Access Protocol, usually called LDAP, is the query and authentication layer that lets systems read from central identity directories such as Active Directory. In NHI environments, it matters because service accounts, device objects, and application integrations often depend on directory lookups to resolve identity, group membership, and permissions.

Definitions vary across vendors when LDAP is described as a protocol, an authentication mechanism, or a directory service integration pattern. In practice, LDAP is not the identity store itself; it is the access method used by applications, middleware, and scripts to talk to that store. For governance teams, that distinction is important because the risk is often not LDAP alone, but the privileges and secrets attached to the accounts using it. The OWASP Non-Human Identity Top 10 frames these problems as identity and secret management issues, not just directory hygiene.

LDAP is commonly paired with bind operations, service accounts, and legacy application stacks, which means its security posture is shaped by password policy, network exposure, and group design. The most common misapplication is treating LDAP binds as harmless application plumbing, which occurs when teams leave long-lived credentials embedded in code or configuration.

Examples and Use Cases

Implementing LDAP rigorously often introduces legacy compatibility constraints, requiring organisations to weigh integration simplicity against tighter credential and network controls.

  • An internal HR portal queries Active Directory over LDAP to resolve department membership before allowing access to employee records.
  • A print server or file server uses a service account bound to LDAP so it can authenticate users and apply group-based permissions.
  • An automation script in a build pipeline checks directory attributes over LDAP before provisioning access for a new workload.
  • A hybrid application uses LDAP alongside modern federation, which can reduce migration friction but also extend the life of older credentials and account patterns.
  • Security teams review LDAP traffic and bind accounts after reading the Ultimate Guide to NHIs, then compare directory dependencies with guidance from the OWASP Non-Human Identity Top 10.

For teams studying incidents, the 52 NHI Breaches Analysis is useful for seeing how directory-integrated identities become part of a wider compromise chain when secrets are weak or overexposed.

Why It Matters in NHI Security

LDAP is still central in many enterprises because it connects older applications to identity infrastructure, but that longevity can hide risk. When an LDAP bind account has broad read rights, attackers can enumerate users, groups, service accounts, and sometimes configuration data that helps them move laterally. When LDAP is used without strong transport protection or with static secrets, it becomes a durable access path that is hard to detect and even harder to retire.

NHIMG research shows that 91.6% of secrets remain valid five days after the targeted organisation is notified, which illustrates how directory-backed credentials can outlive the incident that exposed them. That persistence is especially dangerous in LDAP-linked environments where service accounts are rarely rotated and often overlooked during offboarding. LDAP also sits naturally inside zero trust discussions, because OWASP Non-Human Identity Top 10 and the broader NHI guidance both point to least privilege, secret rotation, and strong identity inventory as core controls. The Ultimate Guide to NHIs also shows that weak visibility remains a recurring problem across modern identity estates.

Organisations typically encounter LDAP risk only after an account compromise, directory dump, or unexpected lateral movement, at which point the protocol becomes operationally unavoidable to address.

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 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02LDAP bind accounts and secret handling map to non-human identity control concerns.
NIST Zero Trust (SP 800-207)LDAP should be constrained by zero trust principles for authentication and access.
NIST CSF 2.0PR.AC-4Directory-backed access permissions align with least-privilege identity controls.

Inventory LDAP-bound service accounts, rotate secrets, and reduce standing privilege.

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