LDAP
Lightweight Directory Access Protocol
- centralised information storage
- user authentication
- email messaging
- calendar services
- access control
- communication encrypted with TLS
- supports multiple backend databases
Terminology
Term | Explanation |
---|---|
Directory | specialised database storing information about objects such as people, profiles, printers, computers, … |
entry | single unit in a LDAP directory |
attribute | detail of an entry |
matching rule | search criteria for matching entries |
object class | structure of required and optional attributes for an entry |
schema | package/bundle of attributes, object classes and matching rules |
LDIF | plaintext representation of a LDAP entry (platform-independent) |
Distinguished Name (DN) | unique identifier for entry |
Relative Distinguished Name (RDN) | unique identifier for components of an entry |
Attributes
- type (describes information) and value (data) pairs
- Common Name (CN)
- Domain Component (DC)
- Countryยฉ
- Mail (mail)
- Address (streetAddress)
- Organisational Unit (OU)
- Surname (SN)
- telephone number (telephoneNumber)
OpenLDAP๐
Tags: #sw/openLDAP
- supports LDAPv3
- SASL
- TLS
- SSL
- LDAP over IPC (Inter Process Communication): enhances security by allowing local communication instead of network
- IPv6
- CAPI for program access
Packages
- openldap
- openldap-client
- openldap-servers
- nss-pam-ldap: LDAP name service for local queries
- mod_ldap: LDAP authentication for Apache web server
- compat-openldap: LDAP compatibility libraries for applications
- openldap-servers-sql: allows OpenLDAP to use relational database back-ends
Server: slap๐
1 2 3 4 5 6 7 8 9 10 11 |
|
Client: ldap๐
1 2 3 4 5 6 7 |
|
Examples๐
1 |
|
References๐
- LinkedIn Learning course Authentication with LDAP and Kerberos
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_authentication_and_authorization_in_rhel/configuring-sssd-to-use-ldap-and-require-tls-authentication_configuring-authentication-and-authorization-in-rhel
- Blog: SSSD LDAP without TLS