Use of canonical Name
Thank you. But i would like to know where i use Distinguished name and where i use Canonical name. - Santron Manibharathi. a CNAME would simply allow a machine to be known by more than one hostname or A record. There must be always an A record for the machine account in AD before aliases can be added. The host name of a machine that is mentioned in an A record is called the canonical name of the machine. Other records should point to the canonical name. Example of a CNAME: www.yourdomain.com CNAME if specified would be Santron.yourdomain.com As Meinolf suggested, Distinguished names are used if you work on LDAP.Please remember to click "Vote As Helpful" on the post if the information is useful to you ! Please remember to click Mark as Answer on the post that helps you to fix the issues, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
February 14th, 2012 7:17am

Hello, the distinguished name http://msdn.microsoft.com/en-us/library/windows/desktop/aa366101(v=vs.85).aspx is the hierarchical path where you will find the object within AD for example "CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM" The canonical name si the same as the distinguished one but in different writing, with slashes and ordered the other way around: COM/FABRIKAM/SALES/SMITH for example.Best regards Meinolf Weber MVP, MCP, MCTS Microsoft MVP - Directory Services My Blog: http://msmvps.com/blogs/mweber/ Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
February 14th, 2012 12:39pm

Hello, if you work within AD UC GUI you do not need them, this is done in the background with LDAP. If you work with scripting or ADSIEdit for example the options are used. Maybe interesting for you: http://www.rlmueller.net/NameTranslateFAQ.htmBest regards Meinolf Weber MVP, MCP, MCTS Microsoft MVP - Directory Services My Blog: http://msmvps.com/blogs/mweber/ Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
February 14th, 2012 12:59pm

In ADUC the canonical name is shown on the "Object" tab. The distinguisheName is not visible, except on the "Attribute Editor" tab of ADUC, or in ADSI Edit. I never user canonical name. In scripts I bind to AD objects using the distinguishedName. I also use and see distinguished names when I use command line utilities like dsquery and dsget. For example, so see the distinguished names of all users in the domain I use: dsquery userRichard Mueller - MVP Directory Services
Free Windows Admin Tool Kit Click here and download it now
February 14th, 2012 2:54pm

I would like to know what is the diffence between canonical name and distinguished name of an object (user). Where do we use canonical name?- Santron Manibharathi.
February 15th, 2012 4:29am

Hello, the distinguished name http://msdn.microsoft.com/en-us/library/windows/desktop/aa366101(v=vs.85).aspx is the hierarchical path where you will find the object within AD for example "CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM" The canonical name si the same as the distinguished one but in different writing, with slashes and ordered the other way around: COM/FABRIKAM/SALES/SMITH for example.Best regards Meinolf Weber MVP, MCP, MCTS Microsoft MVP - Directory Services My Blog: http://msmvps.com/blogs/mweber/ Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2012 4:42am

the CN part is unique within the container (for example CN=Florian Zimmermann) while the DN is unique in the domain (CN=Florian Zimmermann,OU=My OU,DC=domain,DC=local) the "directory structure" paragraph explains the composition http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol edit: oh, my bad, canonical name, not common name. see Meinolfs reply, sorry
February 15th, 2012 4:43am

Thank you. But i would like to know where i use Distinguished name and where i use Canonical name.- Santron Manibharathi.
Free Windows Admin Tool Kit Click here and download it now
February 15th, 2012 4:47am

Hello, if you work within AD UC GUI you do not need them, this is done in the background with LDAP. If you work with scripting or ADSIEdit for example the options are used. Maybe interesting for you: http://www.rlmueller.net/NameTranslateFAQ.htmBest regards Meinolf Weber MVP, MCP, MCTS Microsoft MVP - Directory Services My Blog: http://msmvps.com/blogs/mweber/ Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
February 15th, 2012 5:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics