|
|
@ -0,0 +1,58 @@ |
|
|
|
--- |
|
|
|
title: OpenLDAP |
|
|
|
author: Akshay Pushparaj |
|
|
|
theme: Bergen |
|
|
|
--- |
|
|
|
# Introduction to LDAP |
|
|
|
## What is LDAP? |
|
|
|
LDAP or Lightweight Directory Access Protocol is a standards-based protocol for accessing and maintaining distributed directory information services. LDAP has always been considered a standard for user management in organizations of all sizes. |
|
|
|
|
|
|
|
## What is directory service? |
|
|
|
- Directory is a specialized database specifically designed for searching and browsing, in additional to supporting basic lookup and update functions. |
|
|
|
- Directories tend to contain descriptive, attribute-based information and support filtering capabilities. |
|
|
|
- Directories generally do not support complicated transaction or roll-back schemes found in database management systems designed for handling high-volume complex updates. |
|
|
|
- Directories are generally tuned to give quick response to high-volume lookup or search operations. |
|
|
|
|
|
|
|
## What kind of information can be stored in the directory? |
|
|
|
LDAP information model is based on entries. An entry is a collection of attributes that has a globally-unique Distinguished Name (DN). The DN is used to refer to the entry unambiguously. Each of the entry's attributes has a type and one or more values. |
|
|
|
|
|
|
|
## How is the information arranged? |
|
|
|
Directory entries are arranged in a hierarchical tree-like structure. |
|
|
|
|
|
|
|
![LDAP Tree](./ldap_tree.png){#id .class width=200 height=200 display=block} |
|
|
|
|
|
|
|
## Differences between traditional databases |
|
|
|
- LDAP is a open standard protocol. |
|
|
|
- LDAP is heavily read optimized. |
|
|
|
- LDAP is lightweight. |
|
|
|
|
|
|
|
## Usecases |
|
|
|
Some of the usecases of LDAP are: |
|
|
|
|
|
|
|
- Machine Authentication |
|
|
|
- User Authentication |
|
|
|
- User/System Groups |
|
|
|
- Address book |
|
|
|
- Organization Representation |
|
|
|
- Asset Tracking |
|
|
|
- Telephony Information Store |
|
|
|
- User resource management |
|
|
|
- E-mail address lookups |
|
|
|
- Application Configuration store Machine Authentication |
|
|
|
- etc |
|
|
|
|
|
|
|
# OpenLDAP |
|
|
|
## What is OpenLDAP? |
|
|
|
- OpenLDAP is an free and open source implementation of LDAP. The project started at University of Michigan, now maintained by the OpenLDAP Foundation. |
|
|
|
|
|
|
|
## Features |
|
|
|
- Lightweight |
|
|
|
- Supports a wide variety of backends or databases. |
|
|
|
- Supports components called overlays which can be used to customize backend behaviour without the need to write a custom backend. |
|
|
|
- Has support for wide variety of OS. |
|
|
|
- OpenLDAP is highly flexible. Its minimal UI and code-reliant functionality don’t lock users into predetermined workflows; rather, IT can manipulate the software to do exactly what they need. |
|
|
|
|
|
|
|
## Cons |
|
|
|
- Directory configuration and management are manual. |
|
|
|
|
|
|
|
|