Main menu
Definition

Lightweight Directory Access Protocol (LDAP)

Lightweight Directory Access Protocol (LDAP) is an open protocol for authentication and access to a central directory. Learn how LDAP works, how it relates to Active Directory, and why encrypted LDAP matters.

DTDevolutions Team·November 12, 2026·2 min read

What is Lightweight Directory Access Protocol (LDAP)?

Lightweight Directory Access Protocol (LDAP) is an open, vendor-neutral standard for reading and updating information in a directory service: a central database of users, groups, computers, and other resources. Applications use LDAP to look up user details and group memberships and to check usernames and passwords against the directory, so each application does not need its own user database.

How does LDAP work?

An LDAP directory stores entries in a tree. Each entry has a unique distinguished name (DN), such as cn=Jane Doe,ou=IT,dc=example,dc=com, and a set of attributes, such as email or group membership.

A typical exchange works like this:

  1. The client connects to the LDAP server, by default on port 389.
  2. It binds (authenticates), either with a username and password or anonymously if allowed.
  3. It sends operations such as search, compare, add, modify, or delete.
  4. The server returns results based on the client's permissions.

LDAPS encrypts the connection with TLS, usually on port 636, and StartTLS upgrades a standard connection to an encrypted one.

LDAP vs. Active Directory

LDAP is a protocol. Active Directory is Microsoft's directory service, which supports LDAP along with other protocols such as Kerberos. OpenLDAP and other directory servers also implement LDAP. In short, Active Directory is a place where directory data lives, and LDAP is one way to talk to it.

Why does LDAP matter?

LDAP connects many applications to a central source of identity, which simplifies administration and access changes. Because LDAP binds can carry passwords, connections should be encrypted, service accounts used for binds should have minimal rights and protected credentials, and anonymous access should be disabled unless needed.

Frequently asked questions

What is LDAP?

LDAP (Lightweight Directory Access Protocol) is an open protocol for authentication and access to a central directory of users, groups, and resources.

What is the difference between LDAP and LDAPS?

LDAPS is LDAP over a TLS-encrypted connection. Plain LDAP can expose credentials and directory data to anyone who can observe the traffic.

Is LDAP the same as single sign-on?

No. LDAP lets applications check credentials against a directory, but users may still sign in separately to each one. Single sign-on lets one sign-in grant access to many applications.

Secure the privileged accounts in your directory

Discover privileged accounts in Active Directory and rotate their passwords on a schedule.

Explore Devolutions PAM

Related terms

Active Directory

Active Directory is a directory service created by Microsoft: a database of the users, computers, groups, and other resources on a network.

Read now →

Authentication

Authentication is the action or process of validating an identity, usually that of a user or process requesting access.

Read now →

Single Sign-On (SSO)

Single sign-on (SSO) is a method of accessing multiple resources with only one set of credentials.

Read now →