The meaning of the CN, OU, DC in LDAP

Source: Internet
Author: User
Tags ldap mongodb postgresql string format

http://ssailyang.iteye.com/blog/413518

Turn from: http://stevenit.bokee.com/viewdiary.30578007.html

Although many people will use dsadd and other commands to add users, but dsadd instructions inside does not involve the meaning of Dc,cn,ou, many people do not understand, here is Microsoft's technical support staff's reply, hope to help.

CN, OU, DC are the distinguished names in the end strings of the LDAP connection server (DN, distinguished name)

The connection string format for the LDAP connection server is: LDAP://SERVERNAME/DN

Where the DN has three attributes, respectively, is CN,OU,DC

LDAP is a communication protocol, as HTTP is a protocol.

In the LDAP directory,
DC (Domain Component) CN (Common Name) OU (organizational unit)



An LDAP directory is similar to a file system directory.
The following directories:
Dc=redmond,dc=wa,dc=microsoft,dc=com

If we compare the file system, it can be considered as the following file path:
Com\microsoft\wa\redmond

For example: cn=test,ou=developer,dc=domainname,dc=com
In the code above, Cn=test may represent a user name, Ou=developer represents an organizational unit in Active Directory. The meaning of this sentence may be that the test object is in the Developer organizational unit of the domainname.com domain.

Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.