SlideShare a Scribd company logo
Lightweight Directory Access Protocol
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 Conclusion
Page  2
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
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



. 4
Page
Before moving to the following!!!!


 What is a Directories
Is it a data base as commonly said
Let us knowing the difference




 Directory vs Database




Page  5
Directory vs Database!!!!(1/2)


o A directory is often described as a database
oBut 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
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 access

Page  7
Current directories


           o Paper Directories


                 Phonebook
                 Address Book
                 Sales Catalog


           o Electronic Directories


                 DNS
                 Windows registry
Page  8
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
History:(1/2)




Page  10
History:(2/2)

   o LDAP version 3


             Consideration of special characters




             Security : SASL authentication and TLS encryption
              (Transport Layer Security)


             Overloading operations




Page  11
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
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
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
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 server

Page  15
Each entry is an object



                                               Type



                                       Value           Value
                  Attribute


            Attribute                          Value
                           Attribute

                   Entry




Page  16
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
An attribute is characterized by




Page  18
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 schema


Page  19
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
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 class



Page  21
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
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 entries

Page  23
LDAP directory structure




Page  24
Example




Page  25
Functional model




      o The functional model describes how to access data


      o Update functions : add, modify, delete, rename


      o Session functions : bind, unbind




Page  26
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
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 know



Page  28
Security model



    o Define    for    each       user   data    access    rights
      (authentication control list access)




    o Ensuring the confidentiality of trade (encryption)




Page  29
Replication model


     o Duplicate a directory on multiple servers


     o Prevent     network      outages,     overload   of
      service or the server crashes


     o Master-slave structure




Page  30
LDAP software


    o Server software


             OpenLDAP server
             Netscape Directory Server
             IBM's DSSeries LDAP Directory


    o Client software


             Netscape Communicator
             Microsoft Outlook

Page  31
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}d2BamRTgBuhC6SxC0vFGWol31ki8iq5m



Page  32
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 management



Page  33
Thanks for your attention ..




Page  34

More Related Content

What's hot

Active Directory Training
Active Directory TrainingActive Directory Training
Active Directory Training
Nishad Sukumaran
 
Using OpenLDAP
Using OpenLDAPUsing OpenLDAP
Using OpenLDAP
Wildan Maulana
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap Protocol
Glen Plantz
 
Active Directory
Active DirectoryActive Directory
Active Directory
Small World Group L.L.C
 
Introduction to LDAP and Directory Services
Introduction to LDAP and Directory ServicesIntroduction to LDAP and Directory Services
Introduction to LDAP and Directory Services
Radovan Semancik
 
Active Directory Ii
Active Directory   IiActive Directory   Ii
Active Directory Iideshvikas
 
Active directory slides
Active directory slidesActive directory slides
Active directory slides
Timothy Moffatt
 
Active Directory
Active DirectoryActive Directory
Active Directory
Hameda Hurmat
 
Active directory and application
Active directory and applicationActive directory and application
Active directory and application
aminpathan11
 
LDAP Presentation
LDAP PresentationLDAP Presentation
LDAP Presentationcyberleon95
 
Active directory introduction
Active directory introductionActive directory introduction
Active directory introduction
Timothy Moffatt
 
Microsoft Active Directory
Microsoft Active DirectoryMicrosoft Active Directory
Microsoft Active Directorythebigredhemi
 
Introduction_of_ADDS
Introduction_of_ADDSIntroduction_of_ADDS
Introduction_of_ADDSHarsh Sethi
 
RADIUS
RADIUSRADIUS
RADIUS
amogh_ubale
 
What is active directory
What is active directoryWhat is active directory
What is active directory
Adeel Khurram
 
Microsoft Active Directory.pptx
Microsoft Active Directory.pptxMicrosoft Active Directory.pptx
Microsoft Active Directory.pptx
masbulosoke
 
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
Identity Days
 
Active Directory Domain Services.pptx
Active Directory Domain Services.pptxActive Directory Domain Services.pptx
Active Directory Domain Services.pptx
syedasadraza13
 
Active directory domain service
Active directory domain serviceActive directory domain service
Active directory domain service
Festus Oriaku
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
Peter R. Egli
 

What's hot (20)

Active Directory Training
Active Directory TrainingActive Directory Training
Active Directory Training
 
Using OpenLDAP
Using OpenLDAPUsing OpenLDAP
Using OpenLDAP
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap Protocol
 
Active Directory
Active DirectoryActive Directory
Active Directory
 
Introduction to LDAP and Directory Services
Introduction to LDAP and Directory ServicesIntroduction to LDAP and Directory Services
Introduction to LDAP and Directory Services
 
Active Directory Ii
Active Directory   IiActive Directory   Ii
Active Directory Ii
 
Active directory slides
Active directory slidesActive directory slides
Active directory slides
 
Active Directory
Active DirectoryActive Directory
Active Directory
 
Active directory and application
Active directory and applicationActive directory and application
Active directory and application
 
LDAP Presentation
LDAP PresentationLDAP Presentation
LDAP Presentation
 
Active directory introduction
Active directory introductionActive directory introduction
Active directory introduction
 
Microsoft Active Directory
Microsoft Active DirectoryMicrosoft Active Directory
Microsoft Active Directory
 
Introduction_of_ADDS
Introduction_of_ADDSIntroduction_of_ADDS
Introduction_of_ADDS
 
RADIUS
RADIUSRADIUS
RADIUS
 
What is active directory
What is active directoryWhat is active directory
What is active directory
 
Microsoft Active Directory.pptx
Microsoft Active Directory.pptxMicrosoft Active Directory.pptx
Microsoft Active Directory.pptx
 
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
Identity Days 2022 - Quel est l’avenir de l’annuaire Active Directory ?
 
Active Directory Domain Services.pptx
Active Directory Domain Services.pptxActive Directory Domain Services.pptx
Active Directory Domain Services.pptx
 
Active directory domain service
Active directory domain serviceActive directory domain service
Active directory domain service
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 

Viewers also liked

Distributed computing time
Distributed computing timeDistributed computing time
Distributed computing time
Deepak John
 
Flexible Symmetric Global Snapshot
Flexible Symmetric Global Snapshot Flexible Symmetric Global Snapshot
Flexible Symmetric Global Snapshot Ashutosh Jaiswal
 
Distributed Snapshots
Distributed SnapshotsDistributed Snapshots
Distributed Snapshots
awesomesos
 
Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Sri Prasanna
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefsbergwolf
 
Global state recording in Distributed Systems
Global state recording in Distributed SystemsGlobal state recording in Distributed Systems
Global state recording in Distributed Systems
Arsnet
 
Day 2 global_state_and_snapshot_algorithms
Day 2 global_state_and_snapshot_algorithmsDay 2 global_state_and_snapshot_algorithms
Day 2 global_state_and_snapshot_algorithmsVI Ni
 
Posix threads(asha)
Posix threads(asha)Posix threads(asha)
Posix threads(asha)Nagarajan
 
Coda file system tahir
Coda file system   tahirCoda file system   tahir
Coda file system tahir
Mohammad Faizan
 
Posix Threads
Posix ThreadsPosix Threads
Posix Threads
Doug Abbott
 
Coda file system
Coda file systemCoda file system
Coda file system
Sneh Pahilwani
 
Lamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusionLamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusion
Neelamani Samal
 
clock synchronization in Distributed System
clock synchronization in Distributed System clock synchronization in Distributed System
clock synchronization in Distributed System
Harshita Ved
 
Mutual Exclusion Election (Distributed computing)
Mutual Exclusion Election (Distributed computing)Mutual Exclusion Election (Distributed computing)
Mutual Exclusion Election (Distributed computing)Sri Prasanna
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communicationAbDul ThaYyal
 
6.Distributed Operating Systems
6.Distributed Operating Systems6.Distributed Operating Systems
6.Distributed Operating Systems
Dr Sandeep Kumar Poonia
 
Clock Synchronization in Distributed Systems
Clock Synchronization in Distributed SystemsClock Synchronization in Distributed Systems
Clock Synchronization in Distributed Systems
Zbigniew Jerzak
 

Viewers also liked (20)

Distributed computing time
Distributed computing timeDistributed computing time
Distributed computing time
 
Flexible Symmetric Global Snapshot
Flexible Symmetric Global Snapshot Flexible Symmetric Global Snapshot
Flexible Symmetric Global Snapshot
 
Distributed Snapshots
Distributed SnapshotsDistributed Snapshots
Distributed Snapshots
 
Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)Naming And Binding (Distributed computing)
Naming And Binding (Distributed computing)
 
network filesystem briefs
network filesystem briefsnetwork filesystem briefs
network filesystem briefs
 
Global state recording in Distributed Systems
Global state recording in Distributed SystemsGlobal state recording in Distributed Systems
Global state recording in Distributed Systems
 
Day 2 global_state_and_snapshot_algorithms
Day 2 global_state_and_snapshot_algorithmsDay 2 global_state_and_snapshot_algorithms
Day 2 global_state_and_snapshot_algorithms
 
Posix threads(asha)
Posix threads(asha)Posix threads(asha)
Posix threads(asha)
 
Distributed Systems Naming
Distributed Systems NamingDistributed Systems Naming
Distributed Systems Naming
 
Coda file system tahir
Coda file system   tahirCoda file system   tahir
Coda file system tahir
 
Posix Threads
Posix ThreadsPosix Threads
Posix Threads
 
Coda file system
Coda file systemCoda file system
Coda file system
 
Lamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusionLamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusion
 
LDAP Theory
LDAP TheoryLDAP Theory
LDAP Theory
 
clock synchronization in Distributed System
clock synchronization in Distributed System clock synchronization in Distributed System
clock synchronization in Distributed System
 
Mutual Exclusion Election (Distributed computing)
Mutual Exclusion Election (Distributed computing)Mutual Exclusion Election (Distributed computing)
Mutual Exclusion Election (Distributed computing)
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
6.Distributed Operating Systems
6.Distributed Operating Systems6.Distributed Operating Systems
6.Distributed Operating Systems
 
Clock Synchronization in Distributed Systems
Clock Synchronization in Distributed SystemsClock Synchronization in Distributed Systems
Clock Synchronization in Distributed Systems
 
first pitch
first pitchfirst pitch
first pitch
 

Similar to Ldap

Ldap system administration
Ldap system administrationLdap system administration
Ldap system administration
Ali Abdo
 
Directory Introduction
Directory IntroductionDirectory Introduction
Directory Introduction
Aidy Tificate
 
Directory Servers and LDAP
Directory Servers and LDAPDirectory Servers and LDAP
Directory Servers and LDAP
Wildan Maulana
 
X.500 More Than a Global Directory
X.500 More Than a Global DirectoryX.500 More Than a Global Directory
X.500 More Than a Global Directory
lurdhu agnes
 
Open LDAP vs. Active Directory
Open LDAP vs. Active DirectoryOpen LDAP vs. Active Directory
Open LDAP vs. Active Directory
Ahmad Haghighi
 
Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9
rezgui
 
UnderstandingLDAP.ppt
UnderstandingLDAP.pptUnderstandingLDAP.ppt
UnderstandingLDAP.ppt
Efrizal Zaida
 
Introduction to Fauna
Introduction to FaunaIntroduction to Fauna
Introduction to Fauna
alialaei7
 
LDAP
LDAPLDAP
Directory services by SAJID
Directory services by SAJIDDirectory services by SAJID
Directory services by SAJID
Sajid khan
 
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
RushikeshChikane2
 
Metadata: A concept
Metadata: A conceptMetadata: A concept
Metadata: A concept
SrikantaSahu10
 
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CloudIDSummit
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle databaseSamar Prasad
 
Open Ldap Integration and Configuration with Lifray 6.2
Open Ldap Integration and Configuration with Lifray 6.2Open Ldap Integration and Configuration with Lifray 6.2
Open Ldap Integration and Configuration with Lifray 6.2
Vinaykumar Hebballi
 

Similar to Ldap (20)

Ldap system administration
Ldap system administrationLdap system administration
Ldap system administration
 
Directory Introduction
Directory IntroductionDirectory Introduction
Directory Introduction
 
Ldap
LdapLdap
Ldap
 
Directory Servers and LDAP
Directory Servers and LDAPDirectory Servers and LDAP
Directory Servers and LDAP
 
X.500 More Than a Global Directory
X.500 More Than a Global DirectoryX.500 More Than a Global Directory
X.500 More Than a Global Directory
 
Open LDAP vs. Active Directory
Open LDAP vs. Active DirectoryOpen LDAP vs. Active Directory
Open LDAP vs. Active Directory
 
Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9
 
Ldapsession
LdapsessionLdapsession
Ldapsession
 
UnderstandingLDAP.ppt
UnderstandingLDAP.pptUnderstandingLDAP.ppt
UnderstandingLDAP.ppt
 
Lee oracle
Lee oracleLee oracle
Lee oracle
 
Introduction to Fauna
Introduction to FaunaIntroduction to Fauna
Introduction to Fauna
 
70 640 Lesson01 Ppt 041009
70 640 Lesson01 Ppt 04100970 640 Lesson01 Ppt 041009
70 640 Lesson01 Ppt 041009
 
LDAP
LDAPLDAP
LDAP
 
Directory services by SAJID
Directory services by SAJIDDirectory services by SAJID
Directory services by SAJID
 
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
3.Implementation with NOSQL databases Document Databases (Mongodb).pptx
 
Metadata: A concept
Metadata: A conceptMetadata: A concept
Metadata: A concept
 
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
CIS13: A Breakthrough in Directory Technology: Meet the Elephant in the Room ...
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
Open Ldap Integration and Configuration with Lifray 6.2
Open Ldap Integration and Configuration with Lifray 6.2Open Ldap Integration and Configuration with Lifray 6.2
Open Ldap Integration and Configuration with Lifray 6.2
 

More from Higher Private School of Engineering and Technology (15)

Cloud computing
Cloud computingCloud computing
Cloud computing
 
VOIP
VOIPVOIP
VOIP
 
Unified communication
Unified communicationUnified communication
Unified communication
 
Streaming
StreamingStreaming
Streaming
 
Sensor networks
Sensor networksSensor networks
Sensor networks
 
Qo s
Qo sQo s
Qo s
 
Peer topeer
Peer topeerPeer topeer
Peer topeer
 
Mobile applications
Mobile applicationsMobile applications
Mobile applications
 
I pv6
I pv6I pv6
I pv6
 
Intenet of things
Intenet of thingsIntenet of things
Intenet of things
 
Help desk
Help deskHelp desk
Help desk
 
Ha
HaHa
Ha
 
Geolocalisation
GeolocalisationGeolocalisation
Geolocalisation
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Virtualization
VirtualizationVirtualization
Virtualization
 

Recently uploaded

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Ldap

  • 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 Conclusion Page  2
  • 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. 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 . 4 Page
  • 5. Before moving to the following!!!!  What is a Directories Is it a data base as commonly said Let us knowing the difference  Directory vs Database Page  5
  • 6. Directory vs Database!!!!(1/2) o A directory is often described as a database oBut 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. 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 access Page  7
  • 8. Current directories o Paper Directories  Phonebook  Address Book  Sales Catalog o Electronic Directories  DNS  Windows registry Page  8
  • 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
  • 11. History:(2/2) o LDAP version 3  Consideration of special characters  Security : SASL authentication and TLS encryption (Transport Layer Security)  Overloading operations Page  11
  • 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. 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. 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. 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 server Page  15
  • 16. Each entry is an object Type Value Value Attribute Attribute Value Attribute Entry Page  16
  • 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. An attribute is characterized by Page  18
  • 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 schema Page  19
  • 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. 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 class Page  21
  • 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. 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 entries Page  23
  • 26. Functional model o The functional model describes how to access data o Update functions : add, modify, delete, rename o Session functions : bind, unbind Page  26
  • 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. 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 know Page  28
  • 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. Replication model o Duplicate a directory on multiple servers o Prevent network outages, overload of service or the server crashes o Master-slave structure Page  30
  • 31. LDAP software o Server software  OpenLDAP server  Netscape Directory Server  IBM's DSSeries LDAP Directory o Client software  Netscape Communicator  Microsoft Outlook Page  31
  • 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}d2BamRTgBuhC6SxC0vFGWol31ki8iq5m Page  32
  • 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 management Page  33
  • 34. Thanks for your attention .. Page  34