Table of Contents

About

Attributes of an entry

Structure

See Lightweight Directory Access Protocol (LDAP): Schema for User Applications

Name (Type)

The attribute type is identified by:

The name of the attribute is also called its type because it governs whether:

  • there can be more than one value of an attribute of that type in an entry,
  • the syntax to which the values must conform,
  • the kinds of matching which can be performed on values of that attribute,
  • and other functions.

Value

The permitted value of an attributes are governed by its type (name) see above.

Example

Common attribute

Some common attribute used in LDAP are:

Representation / Meaning

You can get more information from the LDAP directory as :

  • email,
  • title,
  • telephone,
  • address….
  • st = state
A country { relative name 'c=au' , description = 'Australia' }
    |
    |
    ---- A company { relative name = 'o=computer associates', web address = 'www.ca.com'  }
            |
            |
            ----- A person { relative name = 'cn=Chris', favorite drink = 'japanese slipper' }
            |
            ----- A person { relative name = 'cn=Trudi', favorite drink = 'beer' }
            |
            ----- A person { relative name = 'cn=Jay', favorite drink = 'mineral water' }

This shows a simple directory with five entries.

Documentation / Reference