</>CodexBash
All articles
Security

LDAP explained

The protocol behind company directories: how LDAP organises entries into a tree, what a distinguished name is, how binds and searches work, how to write a search filter, and how to use it safely.

CodexBash, , 5 min read

LDAP is the protocol programs use to ask a directory a question: does this person exist, what is their email, which groups are they in, is this their password. It is decades old and still everywhere, inside Active Directory, OpenLDAP and most corporate sign-in systems. If you build anything for a company's internal users, you will meet it. This article explains how it is organised and how to talk to it.

Sign in to read the rest

The whole 5 minute article is free with an account, along with every problem, lesson and tutorial. No card.