LDAP - distinguished name (DN)

> Software Security > LDAP

1 - About

The Distinguished Name (DN) is the unique identifier for an entry in the tree.

Security - Principal ?

The Distinguished Name (DN) is the combination of all relative distinguished names ancestors (ie from the standard: the concatenation of the relative distinguished names of the sequence of entries from a particular entry to an immediate subordinate of the root of the tree).

Advertising

3 - Example

3.1 - One

The world { relative name 'dc=com' , description = 'The world' }
    |
    |
    ---- A company { relative name = 'o=gerard nico', web address = 'www.gerardnico.com'  }
            |
            |
            ----- A person { relative name = 'cn=Nico', favorite drink = 'martini' }
            |
            ----- A person { relative name = 'cn=Trudi', favorite drink = 'beer' }
            |
            ----- A person { relative name = 'cn=Jay', favorite drink = 'mineral water' }

The DN of Nico would be:

cn=Nico,o=gerard nico,dc=com

3.2 - Two (from the standard)

An example of a Distinguished Name is

CN=Steve Kille, O=Isode Limited, C=GB

3.3 - SSL

Advertising

4 - Documentation / Reference