Solved

How to find my root dn

Posted on 2014-03-14
4
7,448 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
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…

710 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