LDAP - ldap of cn, ou, dc meaning

1、

LDAP storage rules

Distinguished name (DN, Distinguished Name)

And the nature of different trees, branches and leaves each piece of the file system / LDAP / Directory directory has at least one unique attribute, this attribute can help us to distinguish between these branches.

The file name in the file system, these unique properties is with full path. Such as / etc / passwd, the file name in this path is unique. Of course we can have / usr / passwd, / opt / passwd, but according to their full path, they are still unique.

In LDAP, an entry in the distinguished name is called "dn" or called distinguished name. In a directory name is always unique. For example, my dn is "uid = aghaffar, ou = People, o = developer.ch". Not have the same dn, but we can have, such as "uid = aghaffar, ou = Administrators, o = developer.ch" of dn. This / passwd example is very similar to the above with the file system / etc / passwd and / usr.

We have a unique property in the "ou = Administrators, o = developer.ch" uid and uid in the "ou = People, o = developer.ch" in. This is not contradictory.

CN = Common Name Server name or a user name, can be up to 80 characters, Chinese may be;

OU = Organization Unit for the organization unit, can have up to four, up to 32 characters per stage, may be Chinese;

O = Organization is the name of the organization, can be 3-64 characters long

C = Country name for the country, optional, for the two characters long

LDAP directory as a series of "attribute" to store entries, each entry includes a record attribute type and an attribute value (which is a relational database with the data in rows and columns to access fundamentally different).

2、

 

CN, OU, DC string ends are connected LDAP server's Distinguished Name (DN, Distinguished name) 
LDAP server connection connecting string format: ldap: // servername / DN   
where DN has three attributes, namely CN , OU, DC   
the LDAP is a communication protocol, HTTP is the same as a protocol! 
In the LDAP directory,

·         DC (Domain Component)

·         CN (Common Name)

·         OU (Organizational Unit)


LDAP directory similar to a file system directory. 
The following directories: 
DC = redmond, DC = WA, DC = in the Microsoft, DC = COM       
If we analogy file system, it can be seen as the following file path:    
Com \ in the Microsoft \ Wa \ Redmond   
example: CN = test, OU = developer , DC = domainname, DC = com 
in the above cn = test code may represent a user name, ou = developer representative of an organizational unit in the active directory. Meaning of this sentence is probably the explanation developer organizational unit test object in domainname.com domain.

 
 

1、

LDAP storage rules

Distinguished name (DN, Distinguished Name)

And the nature of different trees, branches and leaves each piece of the file system / LDAP / Directory directory has at least one unique attribute, this attribute can help us to distinguish between these branches.

The file name in the file system, these unique properties is with full path. Such as / etc / passwd, the file name in this path is unique. Of course we can have / usr / passwd, / opt / passwd, but according to their full path, they are still unique.

In LDAP, an entry in the distinguished name is called "dn" or called distinguished name. In a directory name is always unique. For example, my dn is "uid = aghaffar, ou = People, o = developer.ch". Not have the same dn, but we can have, such as "uid = aghaffar, ou = Administrators, o = developer.ch" of dn. This / passwd example is very similar to the above with the file system / etc / passwd and / usr.

We have a unique property in the "ou = Administrators, o = developer.ch" uid and uid in the "ou = People, o = developer.ch" in. This is not contradictory.

CN = Common Name Server name or a user name, can be up to 80 characters, Chinese may be;

OU = Organization Unit for the organization unit, can have up to four, up to 32 characters per stage, may be Chinese;

O = Organization is the name of the organization, can be 3-64 characters long

C = Country name for the country, optional, for the two characters long

LDAP directory as a series of "attribute" to store entries, each entry includes a record attribute type and an attribute value (which is a relational database with the data in rows and columns to access fundamentally different).

2、

 

CN, OU, DC string ends are connected LDAP server's Distinguished Name (DN, Distinguished name) 
LDAP server connection connecting string format: ldap: // servername / DN   
where DN has three attributes, namely CN , OU, DC   
the LDAP is a communication protocol, HTTP is the same as a protocol! 
In the LDAP directory,

·         DC (Domain Component)

·         CN (Common Name)

·         OU (Organizational Unit)


LDAP directory similar to a file system directory. 
The following directories: 
DC = redmond, DC = WA, DC = in the Microsoft, DC = COM       
If we analogy file system, it can be seen as the following file path:    
Com \ in the Microsoft \ Wa \ Redmond   
example: CN = test, OU = developer , DC = domainname, DC = com 
in the above cn = test code may represent a user name, ou = developer representative of an organizational unit in the active directory. Meaning of this sentence is probably the explanation developer organizational unit test object in domainname.com domain.

Guess you like

Origin www.cnblogs.com/mafeng/p/11806624.html