Could someone please explain LDAP?

前端 未结 10 1288
旧巷少年郎
旧巷少年郎 2021-01-30 20:01

I often hear things like \"Can we load our employee info using LDAP?\" Yet, the title \"Lightweight Directory Access Protocol\" makes me think of it as a protocol rather than a

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 20:40

    LDAP is usually used as authentication database. Let's say you have CMS product you sell as Software-as-a-Service. So user gets CMS and you maintain it etc.

    So, you install it to examplecustomer1.com, examplecustomer2.org, examplecustomer3.net (one software per domain). Now you have THREE user databases to maintain. So you add yourself to all systems as admin and customers accounts as well.

    Then you discover LDAP. You add LDAP support to your product and now you have one central database of users. You can login as admin to all systems with your own ONE username and password. CMS system still contains user database and rights for each user but username is now used as reference to LDAP database and password field is deleted from CMS database schema.

提交回复
热议问题