I'm trying to connect Active Directory supporting LDAP with SSL.
But am confused with some terms. Help me to understand in very simple way.
Please correct me
Domain Name or Host Name or DNS
: this is the server address or name where the Active Directory service is running.
DC or Domain Component or Domain Controller
: this is a folder name within Active Directory. For example If I give DC=gp,DC=gl,DC=google,DC=com"
, then gp
is folder inside google
and google
is inside com
folder.
CN=Dev-India,OU=Distribution Groups
: CN
is a user name which belongs to OU group
. And this user will look for something in DC=gp,DC=gl,DC=google,DC=com"
folder structure.
Can host name be similar to like top level DC (Folder) name?
What is the difference between DC and AD domain name and host name in LDAP?
(b) The format DC=gp,DC=gl,DC=google,DC=com
is called a "distinguished name". In that context, DC stands for "domain component". gp
is not a folder inside google
. Each DC
component of the distinguished name represents one "domain component" of the domain name. So that example would correspond to a domain called gp.gl.google.com
. For a domain called example.com
, the distinguished name would be DC=example,DC=com
.
If you have a distinguished name of CN=Dev-India,OU=Distribution Groups,DC=gp,DC=gl,DC=google,DC=com
, that correspond to an object called Dev-India
. It could be a user, group, computer, contact, etc. You cannot tell what type of object it is just by the distinguished name. That Dev-India
object is in the Distribution Groups
organizational unit (OU) on the domain gp.gl.google.com
.
Here is some extra reading that might help: