Login to a Microsoft Windows local computer with a user account that has local Administrative privilege to perform the steps on this document. Note: If you do not currently have ldp.exe available on your system, you must first download the Windows Support Tools. This is available on the Microsoft website. As Microsoft describes: “Ldp.exe is a Windows 2000 Support Tools utility you can use to perform Lightweight Directory Access Protocol (LDAP) searches against the Active Directory for specific information given search criteria. . C: Windows winsxs x86microsoft-windows-d.n-tools-command-ldp31bf3856ad364e356.1.7601.17514none5148ba975e82fd9a 适用系统:Windows Server 2008 R2 Standard x64 Service Pack1: 版本.
If you want a graphical tool to find the DN of an Active Directory object then the free Microsoft tool LDP.exe should do the trick. The tool is included with the Windows Server OS and can be accessed from your local computer if you have the Windows Server 2003 Admin Pack or the 2008 RSAT installed.
Note: The steps below are from the 2008 R2 RSAT version of LDP, the process is very similar for the 2003 version however some of the memu names etc at a bit different.
You can do some real damage to your domain using this tool, I recommend that when you bind to the domain you user the credentials of a standard use not an administrator.
1) Open Start => run enter LDP and press OK
2) Go to Connection => connect
3) Enter the FQDN of the domain or of a domain controller and press OK
4) Go to connection Bind
5) Either select “Bind as current user” or specify some alternative credentials, then press OK.
I recommend that when you bind to the domain you use the credentials of a standard user not an administrator.
Ldp Exe Microsoft Windows 7 Free
6) go to View => Tree
7) On the Tree View dialog you caa normally just press OK but if you have a large domain you may want to specify the DN of a root to reduce the load on the DC.
8) Browse down the tree on the left (double-click to expand) until you get to the object you want the DN of. Right-click the object and select Copy DN
Windows Support Tools Ldp
9) Paste the DN in notepad or wherever.