Solved

How to find my root dn

Posted on 2014-03-14
4
7,998 Views
Last Modified: 2014-03-28
How do I find out what my root DN (Distinguished name) is on my domain?
0
Comment
Question by:Thomas N
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:Thomas N
ID: 39929347
Also how do I find out which port ldap is using?
0
 
LVL 5

Expert Comment

by:mebaby333
ID: 39929359
Start Notepad and copy the following commands into the application:

    Set objSysInfo = CreateObject("ADSystemInfo")
    Wscript.Echo "Forest DNS Name: " & objSysInfo.ForestDNSName

Save the file as forestroot1.vbs.
Exit Notepad, then double-click forestroot1.vbs in Windows Explorer.
Windows will display the DNS name of the forest root.

found here : http://windowsitpro.com/windows-server/how-can-i-determine-which-domain-forest-root-domain
0
 
LVL 5

Expert Comment

by:mebaby333
ID: 39929377
0
 
LVL 8

Accepted Solution

by:
Shahnawaz Ahmed earned 500 total points
ID: 39929440
Open ADSIEdit.msc -> Go to your server path in Domain Partition -> Go to Properties of server -> Find an attribute Distinguished Name (DN) -> Double Click to open it -> Copy and click cancel in all windows.

You May Use Command dsquery , Example here

http://www.mimecast.com/mc/kb/Mimecast/KBID10321.htm
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A hard and fast method for reducing Active Directory Administrators members.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question