LDAP - (LDIF fields|LDAP Attribute)

> Software Security > LDAP

1 - About

Advertising

3 - Structure

3.1 - Name (Type)

The attribute type is identified by:

  • a short descriptive name
  • and an OID (object identifier).

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.

3.2 - Value

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

4 - Example

4.1 - Common attribute

Some common attribute used in LDAP are:

Advertising

4.2 - 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.

5 - Documentation / Reference