Identity and access LDAP authentication 3 min read

How does LDAP authentication work?

A company app asks the directory whether your username and password are valid. What happens in the LDAP connection, and what does the app still need to decide?

  1. The app binds to the directory as an identity

    LDAP is a protocol for reading and updating directory entries. When an app needs to check a user’s credentials, it can send a Bind request identifying the directory account and using an authentication method the server supports.

    A successful Bind establishes an authenticated identity for that LDAP session. The app may then search for the user’s record or group memberships, depending on its design and directory permissions.

    A work app sends an LDAP Bind request for a user account to the company directory over a protected connection. The directory checks the credentials and returns success or failure.

    Bind authenticates the LDAP session; the app handles its own login flow.

    In short Bind establishes an authenticated identity for the directory session.

  2. Protect the credentials in transit

    A simple name-and-password Bind sends the password to the directory, so protect the connection with TLS—using LDAPS or StartTLS as configured—and validate the server certificate.

    Don’t treat an empty-password or unauthenticated Bind success as proof that a user’s password was checked. The application must confirm the authentication method and result it intended to use.

    In short Never send a directory password over an unprotected connection.

  3. Authentication is only one part of app access

    After Bind, an application may read attributes such as a user’s groups and map them into its own roles. The directory answers identity and lookup questions; the app decides what its user can do.

    A user binding successfully to LDAP does not mean they may administer the app or read every customer record. Apply app authorization to each action and resource.

    In short LDAP can verify an identity; the application still authorizes each request.

What LDAP doesn’t provide by itself

LDAP authentication does not automatically give a single sign-on experience across web applications. Each app that checks LDAP may still prompt for credentials and create its own session.

LDAP also doesn’t define your application’s authorization policy. Group data can inform that policy, but the app must map it carefully and enforce it on every request.

Keep this

LDAP Bind checks credentials with a directory; protect the connection and keep authorization checks separate.

Use a protected LDAP connection, verify that Bind actually authenticated the intended identity, and make the application’s authorization decision separately.
Directory
Stores identity records and attributes such as groups.
Bind
Authenticates an LDAP session using a supported mechanism.
TLS
Protects credentials and directory traffic in transit.
Separate
A successful Bind doesn’t by itself decide app permissions.

Questions worth carrying

Is LDAP the same as Active Directory?

No. LDAP is a protocol for accessing directory services. Microsoft Active Directory is a directory service that supports LDAP along with other protocols and features.

Does LDAP login create SSO?

Not by itself. LDAP Bind authenticates a connection to a directory. An application can use that result to create its own session, while SSO across applications typically uses a federation protocol such as OIDC or SAML.

Sources

Last reviewed 20 November 2026.