What are CN, OU, DC in an LDAP search?

后端 未结 3 1634
野性不改
野性不改 2020-11-28 17:25

I have a search query in LDAP like this. What exactly does this query mean?

(\"CN=Dev-India,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com\");
         


        
3条回答
  •  时光取名叫无心
    2020-11-28 17:47

    I want to add somethings different from definitions of words. Most of them will be visual.

    Technically, LDAP is just a protocol that defines the method by which directory data is accessed.Necessarily, it also defines and describes how data is represented in the directory service

    Data is represented in an LDAP system as a hierarchy of objects, each of which is called an entry. The resulting tree structure is called a Directory Information Tree (DIT). The top of the tree is commonly called the root (a.k.a base or the suffix).

    To navigate the DIT we can define a path (a DN) to the place where our data is (cn=DEV-India,ou=Distrubition Groups,dc=gp,dc=gl,dc=google,dc=com will take us to a unique entry) or we can define a path (a DN) to where we think our data is (say, ou=Distrubition Groups,dc=gp,dc=gl,dc=google,dc=com) then search for the attribute=value or multiple attribute=value pairs to find our target entry (or entries).

    If you want to get more depth information, you visit here

提交回复
热议问题