当前位置:网站首页>LDAP brief description and unified authentication description
LDAP brief description and unified authentication description
2022-07-29 06:50:00 【Flytiger1220】
LDAP sketch
LDAP Relevant concepts
1) Lightweight Directory Access Protocol (Lightweight Directory Access Protocol),LDAP Is a communication protocol ,LDAP Able to support TCP/IP. Protocol is the standard , Under this set of standards ,AD(Active Directory) It's a set of products implemented by Microsoft . You can put AD It's a database , There are also a lot of people who put LDAP It's a database ( A tree database ).LDAP There are also servers and clients , The server is used to store resources , The client controls and operates accordingly .
2)LDAP The storage is tree structured , The data is stored on the leaf node , therefore LDAP It is mainly used for query in the application of , The operation efficiency of insertion and deletion will be relatively low . Take a look at the following example :
LDAP Define the location of a record in : Trees (dc=main) Branch (ou=o1,ou=oo1,ou=ooo1) node (cn=node)
dn: cn=node,ou=o1,ou=oo1,ou=ooo1,dc=main
3)ou There will be multiple values , From the roots to node The location of , It may go through several branches , therefore ou There may be multiple values , About dn The next string , Namely cn,ou,dc; Separated by commas .
LDAP Description of descriptors in tree database :
dn: The detailed location of a record
dc: The area of a record ( Trees )
ou: The organization of a record ( Branch )
cn/uid: The name of a record /id( node )
LDAP: At the top of the tree is the root , It's called “ The benchmark DN”
LDAP Application scenarios of
because LDAP Use a tree structure to store data , So the efficiency of query is higher ( Refer to the index principle in relational database :B Trees /B+ Trees ), So in certain scenarios , Using this tree structure for storage has more advantages , for example : Need to store a lot of static data , The data is relatively stable , No frequent modifications are required , Be able to do a quick search .LDAP Compared with the traditional relational database , The structural characteristics determine that it can undertake the application scenarios that need fast retrieval , For example, domain authentication .
LDAP Common directory tree structure design
LDAP The root of a directory tree is generally defined as a country (c=CN) Or domain name (dc=com), Second, it often defines one or more organizations (organazation,o) Or organizational unit (organazation,ou), An organizational unit can contain members 、 equipment ( Computer / The printer ) Etc .
for example :uid=babs,ou=People,dc=example,dc=com

Suppose the domain name is foobar.com, This domain name can be transformed into this dn:dc=foobar,dc=com

If foobar.com And wocket.com and gizmo.com Merge , The above directory structure can adapt to this sudden change , There's no need to re plan

The better the initial directory structure is set , The less changes are needed for subsequent extensions , Generally, the structure with uniform distribution and shallow layers works best

LDAP Do unified certification
Unified identity authentication changes the original authentication strategy of different applications , Make the applications that need to be authenticated pass LDAP Unified Authentication , After unified authentication , All of the user's information is stored in AD Server in , When end users need to use internal services , You have to go through AD Authentication of the server .

The structure shown below is LDAP General configuration of unified identity authentication ,LDAP client It's all kinds of identity authentication software , for example Apache、Proftpd、Samba etc. ,LDAP Server It's the realization of LDAP Back end services , for example OpenLDAP etc. .OpenLDAP It's just LDAP An implementation of a protocol , The data will be stored in the background database ,LDAP Server and DataStorage Many times it will be deployed on the same server , Although the form of background database can be various , But according to LDAP The agreement in the agreement , The actual logical structure of the data will still be a tree structure .

边栏推荐
- Online multiplayer chat room based on UDP communication
- Let the computer run only one program setting
- Ping principle
- 【干货备忘】50种Matplotlib科研论文绘图合集,含代码实现
- etcd原理
- Enterprise manager cannot connect to the database instance in Oracle10g solution
- Hongke automation SoftPLC | modk operation environment and construction steps (1) -- Introduction to operation environment
- 7、 Next generation Internet IPv6
- Hongke case | PAC: an integrated control solution integrating SoftPLC control logic, HMI and other service functions
- Understanding of access, hybrid and trunk modes
猜你喜欢

5g service interface and reference point

Hongke automation SoftPLC | Hongke kPa modk operation environment and construction steps (3) -- modk routine test

Hongke case | PAC: an integrated control solution integrating SoftPLC control logic, HMI and other service functions

【论文阅读 | cryoET】Gum-Net:快速准确的3D Subtomo图像对齐和平均的无监督几何匹配

C语言数据类型

Ping principle

Floating point addition and subtraction method of vivado IP core floating point

Hongke automation SoftPLC | Hongke kPa modk operation environment and construction steps (2) -- modk operation environment construction

【经验】通过跳板机远程连接内网服务器的相关配置

Let the computer run only one program setting
随机推荐
基于噪声伪标签和对抗性学习的医学图像分割注释有效学习
Annotation
10种常见的软件架构模式
偏向锁、轻量级锁测试工具类级相关命令
【CryoEM】FSC, Fourier Shell Correlation简介
【冷冻电镜|论文阅读】A feature-guided, focused 3D signal permutation method for subtomogram averaging
案例补充、ATM
比较单片机3种时钟电路方案
会话推荐中的价格偏好和兴趣偏好共同建模-论文泛读
将源码包转换为rpm包
Phantom reference virtual reference code demonstration
Execution sequence of finally and return
Loss function -- cross entropy loss function
【论文阅读 | 冷冻电镜】RELION 4.0 中新的 subtomogram averaging 方法解读
Right value reference and mobile construction
Condition 条件对象源码浅读
7、 Next generation Internet IPv6
Hongke automation SoftPLC | Hongke kPa modk operation environment and construction steps (2) -- modk operation environment construction
N2 interface of 5g control plane protocol
The latest pycharm2018 cracking tutorial