OpenLDAP Presentation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
4.9 KiB

  1. ---
  2. title: OpenLDAP
  3. author: Akshay Pushparaj
  4. theme: Berlin
  5. mainfont: Iosevka
  6. fontsize: 8pt
  7. ---
  8. # Introduction to LDAP
  9. ## What is LDAP?
  10. 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.
  11. ## What is directory service?
  12. - Directory is a specialized database specifically designed for searching and browsing, in additional to supporting basic lookup and update functions.
  13. - Directories tend to contain descriptive, attribute-based information and support filtering capabilities.
  14. - Directories generally do not support complicated transaction or roll-back schemes found in database management systems designed for handling high-volume complex updates.
  15. - Directories are generally tuned to give quick response to high-volume lookup or search operations.
  16. ## What kind of information can be stored in the directory?
  17. 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.
  18. ## How is the information arranged?
  19. Directory entries are arranged in a hierarchical tree-like structure.
  20. ![LDAP Tree](./image/ldap_tree.png){#id .class width=200 height=200 display=block}
  21. ## Differences between traditional databases
  22. - LDAP is a open standard protocol.
  23. - LDAP is heavily read optimized.
  24. - LDAP is lightweight.
  25. ## Usecases
  26. Some of the usecases of LDAP are:
  27. - Machine Authentication
  28. - User Authentication
  29. - User/System Groups
  30. - Address book
  31. - Organization Representation
  32. - Asset Tracking
  33. - Telephony Information Store
  34. - User resource management
  35. - E-mail address lookups
  36. - Application Configuration store Machine Authentication
  37. - etc
  38. # OpenLDAP
  39. ## What is OpenLDAP?
  40. - OpenLDAP is an free and open source implementation of LDAP. The project started at University of Michigan, now maintained by the OpenLDAP Foundation.
  41. ## Features
  42. - Lightweight
  43. - Supports a wide variety of backends or databases.
  44. - Supports components called overlays which can be used to customize backend behaviour without the need to write a custom backend.
  45. - Has support for wide variety of OS and services.
  46. - OpenLDAP is highly flexible. Has code-reliant functionality which doesn’t lock users into predetermined workflows; rather, we can manipulate the software to our exact needs.
  47. ## Cons
  48. - Directory configuration and management are manual. Hence it is more time consuming and has a higher learning curve.
  49. - OpenLDAP is a command-line application. However there are multiple LDAP browsers available which can be used in case a UI is required. Few of them listed below:
  50. - [web2ldap](https://www.web2ldap.de/web2ldap.html)
  51. - [Apache Directory](https://directory.apache.org/)
  52. # Other free software LDAP implementations
  53. ## 389 DS
  54. - Like OpenLDAP, 389 DS or 389 Directory Server is a LDAP implementation by RedHat as part of the community-supported Fedora project.
  55. - 389 DS have a graphical interface that can be used for administration.
  56. ##
  57. ![389 DS management console](./image/389ds.png){#id .class display=block}
  58. ## FreeIPA
  59. - FreeIPA is an identity management system created by RedHat. The aim with FreeIPA is to provide a centrally managed Identity, Policy and Audit(IPA) system.
  60. - Identity management ensure the right users have appropriate access to resources.
  61. - Security policies are a set of requirements to maintain a safe and secure computing environment.
  62. - Audit trail are records of events, procedures or operations being done on the system.
  63. - FreeIPA uses a combination of different software inorder to acheive an IPA system. It uses Fedora, 389 DS, Kerberos, DNS, SSSD and other free and open source components.
  64. - The advantage of using FreeIPA is that it is easy to setup. Since everything is taken care by FreeIPA for us it has less flexibilty comapred to OpenLDAP.
  65. - FreeIPA has a Web UI for administration.
  66. ##
  67. ![Web UI](./image/freeipa.png)
  68. ## Samba
  69. - Samba runs on Unix platforms, but speaks to Windows clients like a native. It allows a Unix system to move into a Windows "Network Neighborhood" without causing a stir. Windows users can happily access file and print services without knowing or caring that those services are being offered by a Unix host.
  70. - Samba is an open source CIFS implementation. CIFS or Common Internet File System is a protocol suite used to share files remotely via IP.
  71. - Samba allows for a Linux server to act as a Domain Controller. By doing so, user credentials on the Windows domain can be used instead of needing to be recreated and then manually kept in sync on the Linux server.
  72. - A domain controller is a server that manages network and identity security, effectively acting as the gatekeeper for user authentication and authorization to IT resources within the domain.