The LDAP Information and Naming Models: How Directories Are Organized

The LDAP Information Model

LDAP inherits its information and naming models from X.500, and we have already hinted at the contents of those models.

In LDAP, data is stored as entries. An entry has a distinguished name (DN) to identify it uniquely within the directory, as well as one or more attributes that describe the entry. Each attribute may have one or more values. Examples of attributes for an entry describing a person include cn (the first and last name, or common name, of the person), mail (the person's e-mail address), and telephoneNumber (the person's phone number).

Each entry must have at least the attribute objectclass, which defines the type of the entry. An object ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.