This document provides an introduction to LDAP (Lightweight Directory Access Protocol). It discusses that LDAP is used to access distributed directory services over TCP/IP. It lists several LDAP server software and describes the hierarchical directory information tree structure with entries, attributes, and objectclasses. It also provides an overview of the LDAP protocol including connecting to servers, binding, sending operation requests, and receiving responses. Finally, it lists some common LDAP operations and provides example links.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
28 views12 pages
Introduction To LDAP: Frank A. Kuse
This document provides an introduction to LDAP (Lightweight Directory Access Protocol). It discusses that LDAP is used to access distributed directory services over TCP/IP. It lists several LDAP server software and describes the hierarchical directory information tree structure with entries, attributes, and objectclasses. It also provides an overview of the LDAP protocol including connecting to servers, binding, sending operation requests, and receiving responses. Finally, it lists some common LDAP operations and provides example links.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12
Introduction to LDAP
Frank A. Kuse Introduction to LDAP • AGENDA • Understanding LDAP • LDAP Servers • Information Structure • Protocol Overview • LDAP operations UNDERSTANDING LDAP
• LDAP stands for Lightweight Directory Access Protocol.
• It is an internet protocol for accessing distributed directory services. • It uses the TCP/IP protocols for its operations • It also forms the standard for allowing directories to be managed. LDAP Servers • OpenLDAP • Active directory • Apache Directory Server • FreeIPA • OpenDS • Novell eDirectory • Sun Java System Directory Server • IBM Tivoli Directory Server Information Structure • It has a DIT ( Directory Information Tree) which help present information in the hierarchical tree format • Example of a DIT is as below. Information Structure (Cont) • Each node in the LDAP tree is called an entry and is uniquely identified by its Distinguished Name (DN) • For instance, the DN of the entry highlighted in the following picture below. Information Structure (Cont) • The DN for the above tree can then be written as below • “ui=Danix,ou=Users,dc=kernel-panic,dc=it” See RFC4514 for full description of the DN format. • An entry consists of a set of attributes, each attribute has a name or type and one or more values. • “dc” stands for Domain Component • “cn” stands for Common Name • Objectclasses define the attribute structure of an LDAP entry. • Both ObjectClasses and Attributes are defined within schemas Information Structure (Cont) • O stands for organization • OU stands for Organizational unit • SN stands for Surname • Givenname stands for First Name • UID stands for Userid • Mail stands for Email address • C stands for country • L stands for location • St stands for Status Information Structure (Cont) • Entries can be represented in a human-readable format by using the LDIF format as in example below. Protocol Overview • Client starts an LDAP session by connecting to an LDAP Server • The default TCP port is 389 • Bind to the server through an authentication process • Client then sends an operation request to the server • The Server sends responses in return LDAP Operations LDAP Operation (Cont) • Some useful LDAP operation commands are as below. • Ldapadd • Ldapsearch
• Some useful link to see example of such operation are below