当前位置:网站首页>LDAP -- realize unified login management of users
LDAP -- realize unified login management of users
2022-07-26 21:40:00 【Cainiaoji】
LDAP—— Realize unified login management of users
One 、 What is it? ?
LDAP(Light Directory Access Protocol Lightweight directory access agreement ), It is a storage method of directory database .
image MySQL database , The data is stored in the table one by one . and LDAP database , Organize the data into a 「 A tree structure 」, The data is stored on the leaf node .
1.1 LDAP Information organization form of database , Applicable scenario
It uses 「 Tree mode 」 Store the data .
- His biggest advantage is that he has a strong query ( read ) function , It is suitable for retrieving a large amount of data .
- Its disadvantage is that it can only perform simple updates ( Write ) operation , Transaction processing functions required for batch updates are not supported . But it doesn't matter , Because its usage scenario is a multi query scenario .
1.2 Some noun explanations
Entry term
LDAP It stores data in a tree structure , Each node is called an item .
dc(Domain Component)
dc Domain organization ( You can think of it as a relational Library )
For example, will
http://zaq.testSuch domain name , It can be disassembled intodc=zaq,dc=testForm like this .
dn(Distinguished Name)
It is used for Unique identification One 「 term 」, And its position in the directory information tree .( One dn It is similar to a piece of data in a relational database )
dn Example :
ou=group,dc=zaq,dc=test、cn=dev,ou=group,dc=zaq,dc=testdn String from left to right , Each component is close to the root of the tree in turn .
rdn(Relative Distinguished Name)
Rdn Namely 「 Key value pair 」.dn By a number of rdn form , Separated by commas .
Like the one above dn in
dc=zaqIt's just one. rdn
ou(Organization Unit)
stay dn It may contain ou= XX Department Such components , there ou Refers to the organizational unit 、 department .
Object Classes
Every 「 term 」 It contains several Object Classes, Equivalent to the attribute of the item .( One dn These attributes in are similar to the fields of a piece of data in a relational database )
Two 、 Can do ?
In the development process, we inevitably need to use a variety of development tools , Each system has its own set of passwords , This makes us helpless , How to remember ? And the administrator also has a headache when allocating accounts , Every time a team member joins, he will add an account for this member in each system , It's very troublesome to manage . Is there a unified management of user information of multiple systems ? That's it LDAP.( It can also realize single sign on )
Overall goal : Realize unified login management of users
LDAP The purpose of is to provide a unified standard authentication mechanism for all kinds of software , All software can no longer use unique user management methods , But through this unified authentication mechanism for user authentication .

- OpenLDAP It can run on Linux Upper LDAP Open source implementation of the protocol .
- Microsoft ActiveDirectory yes LDAP stay Windows The realization of .
- Just support LDAP The system of the protocol can be integrated LDAP Realize unified authentication management .
Here is OpenLDAP Installation and integration of third-party systems tutorial >>>
Reference resources :
- https://zhuanlan.zhihu.com/p/445690193
- https://zhuanlan.zhihu.com/p/147768058
- https://blog.csdn.net/joeybrown/article/details/118027917
边栏推荐
- Arm Mali GPU的噩梦:三星、华为纷纷转向自研!
- 日本批准向韩出口EUV光刻胶,三星、SK海力士危机或将缓解
- 牛客多校-Journey-(建图distra+卡常优化)
- 洛谷-线段覆盖-(区间排序问题总结)
- CFdiv1+2-Pathwalks-(树状数组+线性dp)
- Industrial basic IFC - extract model structure tree
- A unified label space for entity relationship extraction
- Broadcast voice H5 speechsynthesisutterance
- DeepFake捏脸真假难辨,汤姆·克鲁斯比本人还像本人!
- 测试员:“我有五年测试经验”HR: “不,你只是把一年的工作经验用了五年”
猜你喜欢

Vi和Vim文本编辑器

DeepFake捏脸真假难辨,汤姆·克鲁斯比本人还像本人!

【HCIA安全】用户认证

VI and VIM text editors

Golang version management GVM

测试员:“我有五年测试经验”HR: “不,你只是把一年的工作经验用了五年”

【HCIE安全】双机热备-主备备份

浏览器主页被篡改怎么办,主页被篡改恢复方法

Live broadcast appointment award | senior consultant xuyanfei: how does efficiency measurement help efficient and sophisticated outsourcing management

五、小程序报错:message:Error: 系统错误,错误码:80058,desc of scope.userLocation is empty
随机推荐
MySQL -count: the difference between count (1), count (*), and count (column name)
TCP的粘包拆包问题解决方案
Summer vacation daily question week 7:7.18 - 7.24
分布式 session 的4个解决方案
Selenium自动化测试面试题全家桶
拼多多获得搜索词推荐 API
内容管理工具,用蓝色书签就足够
技术分享 | 服务端接口自动化测试, Requests 库的这些功能你了解吗?
Number() VS parseInt()
encodeURI VS encodeURIComponent
Summary of common interview questions of computer composition principle, including answers
Zoom the text to fit inside the element
滤波及失真
Valley segment coverage - (summary of interval sequencing problem)
In addition to "adding machines", in fact, your micro service can be optimized like this
Live broadcast appointment award | senior consultant xuyanfei: how does efficiency measurement help efficient and sophisticated outsourcing management
Tester: "I have five years of testing experience" HR: "no, you just used one year of work experience for five years."
Placeholder of contentedable element
按关键字搜索易贝商品 API
It is said that Samsung obtained EUV photoresist from Belgium