0
Lightweight Directory Access Protocol
Outline  o Introduction  o Directory vs Database  o Current directory  o Directory features  o History  o Understanding LD...
Introduction (1/2)To improve functionality and ease-of-use, and to enable cost- effective administration of distributed a...
Introduction (2/2)But it must also be protectedSuch information is often collected into a special database that is somet...
Before moving to the following!!!! What is a DirectoriesIs it a data base as commonly saidLet us knowing the difference ...
Directory vs Database!!!!(1/2)o A directory is often described as a databaseoBut it has special characteristics different ...
Directory vs Database!!!!(2/2)        Many directory services don’t support transactions        Directories normally lim...
Current directories           o Paper Directories                 Phonebook                 Address Book                ...
Directory features      oA directory is a listing of information about objects       arranged in some order that gives det...
History:(1/2)Page  10
History:(2/2)   o LDAP version 3             Consideration of special characters             Security : SASL authenticat...
Understanding LDAP?(1/2)What’s LDAP!!!   Lightweight Directory Access Protocol   An application protocol for querying an...
Understanding LDAP?(2/2)Naming  • How information is organized and identified.Functional / Operations  • Describes what ...
Information model       o Based on X.500 model       o Information stored in DIT (Directory Information Tree)             ...
Each Tree has     o DIT ( Directory Information Tree) : top of the Tree     o Nodes called DSE (Directory service Entry)  ...
Each entry is an object                                               Type                                       Value    ...
Two types of attributes   o Normal attributes : accessible to users              (givenname attribute)   o Operational att...
An attribute is characterized byPage  18
Object class    o Contains real or abstract objects    o It characterizes them by a list of optional and required     attr...
An object class is defined by   o A name that identifies   o An OID that also identifies   o Required attributes   o Optio...
Three types of object class   Structural class       Auxiliary class       Abstract class   Description of   basic objects...
Naming model    o Naming constraints to ensure interoperability between       directories    o Each entry is uniquely iden...
LDAP Data Interchange Format (LDIF)     o LDAP data represented in standard text format     o It is used to view or edit t...
LDAP directory structurePage  24
ExamplePage  25
Functional model      o The functional model describes how to access data      o Update functions : add, modify, delete, r...
Basic operations            LDAP operation                 Description Search                      search directory object...
Search/compare queries parameters            Parameter                              Description    base object          th...
Security model    o Define    for    each       user   data    access    rights      (authentication control list access) ...
Replication model     o Duplicate a directory on multiple servers     o Prevent     network      outages,     overload   o...
LDAP software    o Server software             OpenLDAP server             Netscape Directory Server             IBMs D...
Configure a LDAP on a server Installation of the package slapd and ldap-utils:                   sudo apt-get install sla...
Conclusion       o LDAP can become the information system key now       o LDAP is available on many types of platforms    ...
Thanks for your attention ..Page  34
Upcoming SlideShare
Loading in...5
×

Ldap

517

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
517
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
60
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Ldap"

  1. 1. Lightweight Directory Access Protocol
  2. 2. Outline o Introduction o Directory vs Database o Current directory o Directory features o History o Understanding LDAP  Information model  Naming model  Ldap directory structure  Functional model  Security Model  Replication model o LDAP software o Configure a LDAP on a server o ConclusionPage  2
  3. 3. Introduction (1/2)To improve functionality and ease-of-use, and to enable cost- effective administration of distributed applications: information about the services:  resources  users  and other objects accessible from the applications  needs to be organized in a clear and consistent manner. Much of this information can be shared among many applications.Page  3
  4. 4. Introduction (2/2)But it must also be protectedSuch information is often collected into a special database that is sometimes called a directory. The Lightweight Directory Access Protocol (LDAP) is an open industry standard that has evolved to meet these needs. 4Page
  5. 5. Before moving to the following!!!! What is a DirectoriesIs it a data base as commonly saidLet us knowing the difference Directory vs DatabasePage  5
  6. 6. Directory vs Database!!!!(1/2)o A directory is often described as a databaseoBut it has special characteristics different from general databases:  They are accessed much more than they are updated. And they are optimized for read access  They are not suited for information that changes rapidly (number of jobs in a printer queue)Page  6
  7. 7. Directory vs Database!!!!(2/2)  Many directory services don’t support transactions  Directories normally limits the type of information that can be stored  Databases use powerful query languages like SQL but Directories normally use very simple access methods  Hence directories can be optimized to economically provide more applications with rapid accessPage  7
  8. 8. Current directories o Paper Directories  Phonebook  Address Book  Sales Catalog o Electronic Directories  DNS  Windows registryPage  8
  9. 9. Directory features oA directory is a listing of information about objects arranged in some order that gives details about each object. o Dynamic (real time update) o Flexible (easy change of type and data organization) o Secure (who sees what) o Personalized (how to present data,…)Page  9
  10. 10. History:(1/2)Page  10
  11. 11. History:(2/2) o LDAP version 3  Consideration of special characters  Security : SASL authentication and TLS encryption (Transport Layer Security)  Overloading operationsPage  11
  12. 12. Understanding LDAP?(1/2)What’s LDAP!!!  Lightweight Directory Access Protocol  An application protocol for querying and modifying directory services running over TCP/IPInformation  Structure of information stored in an LDAP directory.Page  12
  13. 13. Understanding LDAP?(2/2)Naming • How information is organized and identified.Functional / Operations • Describes what operations can be performed on the information stored in an LDAP directory.Security  Describes how the information can be protected from unauthorized access.Page  13
  14. 14. Information model o Based on X.500 model o Information stored in DIT (Directory Information Tree) Hierarchical model o An entry contains a set of attributes type of attribute- attribute value(s)Page  14
  15. 15. Each Tree has o DIT ( Directory Information Tree) : top of the Tree o Nodes called DSE (Directory service Entry) o RootDSE (contains a description of the tree and its content), specific to each LDAP serverPage  15
  16. 16. Each entry is an object Type Value Value Attribute Attribute Value Attribute EntryPage  16
  17. 17. Two types of attributes o Normal attributes : accessible to users (givenname attribute) o Operational attributes : used only for server administration data (modifyTimeStamp attribute )Page  17
  18. 18. An attribute is characterized byPage  18
  19. 19. Object class o Contains real or abstract objects o It characterizes them by a list of optional and required attributes o All object classes are contained in the directory schemaPage  19
  20. 20. An object class is defined by o A name that identifies o An OID that also identifies o Required attributes o Optional attributes o A type (structural, auxiliary or abstract)Page  20
  21. 21. Three types of object class Structural class Auxiliary class Abstract class Description of basic objects in the Contains objects directory. that can add Contains basic additional LDAP objects like informations to top or alias An entry belongs structural objects always at least to one structural object classPage  21
  22. 22. Naming model o Naming constraints to ensure interoperability between directories o Each entry is uniquely identified by:  Relative Distinguished Name (RDNs)  Distinguished Name (DN)Page  22
  23. 23. LDAP Data Interchange Format (LDIF) o LDAP data represented in standard text format o It is used to view or edit the data base o The format used is ASCII, binary data are encoded in base 64 o LDIF is used :  to import / export base  to make changes to entriesPage  23
  24. 24. LDAP directory structurePage  24
  25. 25. ExamplePage  25
  26. 26. Functional model o The functional model describes how to access data o Update functions : add, modify, delete, rename o Session functions : bind, unbindPage  26
  27. 27. Basic operations LDAP operation Description Search search directory objects using criteria Compare comparing the contents of two objects Add Adding an entry Modify modifying the contents of an entry Delete Deleting an object Rename (Modify DN) modifying the DN of an entry Bind server connection Unbind logout Abandon Giving up a running operation Extended extended operation (v3)Page  27
  28. 28. Search/compare queries parameters Parameter Description base object the location of the tree where the search must begin scope depth research derefAliases if you follow the links or not size limit limit number of responses time limit maximum time allocated for research attrOnly returns or not the value of attributes in addition to their type search filter Search Filter list of attributes list of attributes that you want to knowPage  28
  29. 29. Security model o Define for each user data access rights (authentication control list access) o Ensuring the confidentiality of trade (encryption)Page  29
  30. 30. Replication model o Duplicate a directory on multiple servers o Prevent network outages, overload of service or the server crashes o Master-slave structurePage  30
  31. 31. LDAP software o Server software  OpenLDAP server  Netscape Directory Server  IBMs DSSeries LDAP Directory o Client software  Netscape Communicator  Microsoft OutlookPage  31
  32. 32. Configure a LDAP on a server Installation of the package slapd and ldap-utils: sudo apt-get install slapd ldap-utils Modifying the configuration: sudo dpkg-reconfigure slapd A password for the administrator: sudo slappasswd Edit the configuration file «/etc/ldap/slapd.conf » suffix "dc=example,dc=com" directory "/var/lib/ldap" rootdn "cn=admin,dc=example,dc=com" rootpw {SSHA}d2BamRTgBuhC6SxC0vFGWol31ki8iq5mPage  32
  33. 33. Conclusion o LDAP can become the information system key now o LDAP is available on many types of platforms o It can centralize information from different sources for different applications and different users o To simplify data managementPage  33
  34. 34. Thanks for your attention ..Page  34
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×