Security & Privacy

LDAP

Also known as: Active Directory, OpenLDAP, LDAPS, directory services, AD

LDAP (Lightweight Directory Access Protocol) is a protocol for accessing directory services -- structured databases of users, groups, computers, and other network resources.

It's the protocol underlying Microsoft Active Directory and many enterprise authentication systems, used to look up whether a user exists and verify their password.

LDAP, explained at three levels

At home

LDAP is the system that lets a company manage all its employees in one place. When you log in to your work computer, it checks LDAP to verify your username and password. When IT adds you to the 'Finance' group, every system connected to LDAP knows you belong to Finance.

At work

LDAP is behind the scenes of corporate login systems. When an employee's account is created or disabled in Active Directory, LDAP propagates that change to all connected applications -- email, VPN, file shares -- because they all query the same directory.

Real-world examples

At home

Aisha's office uses Active Directory. When she changes her password, the change propagates via LDAP to email, VPN, Wi-Fi, and every other corporate system simultaneously -- one password change for everything.

At work

Marcus's company runs OpenLDAP for their Linux infrastructure alongside Microsoft Active Directory for Windows. Cross-forest LDAP trust allows Linux servers to authenticate users from the AD domain, giving one unified directory for the whole organization.

Common confusions

  • LDAP is outdated and replaced by SAML/OIDC — LDAP handles authentication for internal network resources (Wi-Fi, VPN, Linux servers, traditional enterprise apps). SAML and OIDC handle web application SSO. They're complementary -- most enterprises use LDAP as the source of truth and SAML/OIDC as the federation layer for web apps.
  • Active Directory and LDAP are the same thing — Active Directory is Microsoft's directory service that uses LDAP as one of its protocols. AD adds Kerberos authentication, Group Policy, DNS integration, and more. LDAP is a protocol; AD is a product that implements (and extends) that protocol.

For analysts

LDAP group membership is often the source of truth for application access control. When a BA needs access to a new data source, the answer is usually 'ask IT to add you to the relevant LDAP group' -- understanding this speeds up access requests.

History & origin

LDAP was developed at the University of Michigan in the early 1990s as a lightweight alternative to the X.500 directory standard. It became the standard protocol for accessing directory services. Microsoft built Active Directory (1999) on LDAP, making it ubiquitous in enterprise environments. LDAP remains the backbone of enterprise identity infrastructure, though it's increasingly complemented by OIDC and SAML for web applications. OpenLDAP is the dominant open-source LDAP server.