1336 links
  • linx
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
  • ► Play Videos
Links per page: 20 50 100
page 1 / 1
1 results tagged dn x
  • thumbnail
    What are CN, OU, DC in an LDAP search?

    What are CN, OU, DC?

    From RFC2253 (UTF-8 String Representation of Distinguished Names):

    String  X.500 AttributeType

    CN commonName
    L localityName
    ST stateOrProvinceName
    O organizationName
    OU organizationalUnitName
    C countryName
    STREET streetAddress
    DC domainComponent
    UID userid

    <br/>
    What does the string from that query mean?

    The string ("CN=Dev-India,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com") is a path from an hierarchical structure (DIT = Directory Information Tree) and should be read from right (root) to left (leaf).

    It is a DN (Distinguished Name) (a series of comma-separated key/value pairs used to identify entries uniquely in the directory hierarchy). The DN is actually the entry's fully qualified name.

    Here you can see an example where I added some more possible entries.<br/>
    The actual path is represented using green.

    enter image description here

    The following paths represent DNs (and their value depends on what you want to get after the query is run):

    • "DC=gp,DC=gl,DC=google,DC=com"
    • "OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com"
    • "OU=People,DC=gp,DC=gl,DC=google,DC=com"
    • "OU=Groups,DC=gp,DC=gl,DC=google,DC=com"
    • "CN=QA-USA,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com"
    • "CN=Dev-India,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com"
    • "CN=Ted Owen,OU=People,DC=gp,DC=gl,DC=google,DC=com"
    December 19, 2019 at 2:27:45 PM UTC - permalink -
    QRCode
    - https://stackoverflow.com/a/33961313/954777
    distinguished-names dn ldap rfc2253
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation