LDAP Introduction

LDAP (Light Directory Access Portocol), which is a lightweight directory access protocol based on the X.500 standard.

A directory is a database optimized for querying, browsing and searching that organizes data in a tree-like structure, similar to a file directory.

LDAP directory service is a system consisting of a directory database and a set of access protocols.

Why use LDAP?

When we have more than one daily office system, each system has a different account password, the password is too much to remember which system the password corresponds to, when the new system development is not to create a new set of account password?

LDAP unified authentication service is used to solve the above problems.

Configuring LDAP

1.Official website to download the binary installation package

https://github.com/apache/incubator-streampark/releases

2.Add LDAP configuration

  1. cd streampark
  2. cd conf
  3. vim application
  1. ldap:
  2. ## This value is the domain name required for company LDAP user login
  3. urls: ldap://99.99.99.99:389
  4. username: cn=Manager,dc=streampark,dc=com
  5. password: streampark
  6. ## DN distinguished name
  7. embedded:
  8. base-dn: dc=streampark,dc=com
  9. user:
  10. ## Key values for search filtering
  11. identity:
  12. attribute: cn
  13. ## User matches the Key value of the user's mailbox
  14. email:
  15. attribute: mail