Skip to content

Instantly share code, notes, and snippets.

@atd-schubert
Created January 5, 2015 09:59
Show Gist options
  • Save atd-schubert/5070eb89cc4ec20184db to your computer and use it in GitHub Desktop.
Save atd-schubert/5070eb89cc4ec20184db to your computer and use it in GitHub Desktop.
Summery for LDAP

#LDAP

Description

LDAP stands for Lightweight Directory Access Protocol and serve a method for accessing and maintaining distributed directory information over an Internet Protocol (IP) network.

LDAP uses a reverse domain structure with normal dot-notation. Every part of the reverse domain structure has a special meaning defined with LDIF.

Components

LDIF

LDAP data interchange format (LDIF) is an interchange format to represent LDAP directory content.

List of representations

  • dn distinguished name: This refers to the name that uniquely identifies an entry in the directory.
  • dc domain component: This refers to each component of the domain. For example www.google.com would be written as DC=www,DC=google,DC=com
  • ou organizational unit: This refers to the organizational unit (or sometimes the user group) that the user is part of. If the user is part of more than one group, you may specify as such, e.g., OU= Lawyer,OU= Judge.
  • cn common name: This refers to the individual object (person's name; meeting room; recipe name; job title; etc.) for whom/which you are querying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment