LDAP summary--Python LDAP

Source: Internet
Author: User
Tags ldap fully qualified domain name

A DN is comprised of a series of RDNs (Relative distinguished Names) found by walking up the tree (DIT) to its root (or Su Ffix or base) and is written left to right unlike the file system analogy you see quoted everywhere which are written right to left. If you're into analogies it's like the more like a fully qualified domain name (FQDN).

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, namely 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)



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

If we are analogous to a file system, it can be seen as the following file path:
Com/microsoft/wa/redmond

Example: cn=test,ou=developer,dc=domainname,dc=com
In the preceding code, Cn=test may represent a user name, and 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.

LDAP summary--Python LDAP

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.