Home » Active Directory » Accessing Active Directory Information with ldp.exe

Translate:

Archives

Accessing Active Directory Information with ldp.exe

How to Use the Tool ldp.exe for Active Directory and resolving various Issues in Exchange Server

Before talking about the uses let’s discuss what’s LDP.

LDP in my opinion, it should be called not LDP but LDAP, as that’s what it configures.

This GUI tool is a Lightweight Directory Access Protocol (LDAP) client that allows users to perform operations (such as connect, bind, search, modify, add, delete) against any LDAP-compatible directory, such as Active Directory. LDP is used to view objects stored in Active Directory along with their metadata, such as security descriptors and replication metadata.

This is a tool that is developed and distributed by Microsoft. The tool is designed to access LDAP databases, as the name indicates. The tool was originally developed for Windows 2000, then updated for 2003, and still works on 2008.

There is no need that this tool should be run on Server but also you can run on Client machine from Windows xp to till Windows 8 and further.

Using LDP.exe in various scenarios

1: Accessing Active Directory Information with LDP
2: Restoring Deleted Active Directory Objects using LDP.exe in Windows Server 2008 R2
3: Locating Microsoft Exchange Container
4: Finding Duplicate SMTP Addresses

Connecting to LDP from Exchange Server 2013

This tool can be run either “Run Window or from the Command Prompt”

From Run Window

 

ldp1
From Command Prompt

 

ldp2

 

Now after typing LDP.exe from Run Window or from Command Prompt when you press enter it will take you to another window as shown below:

 

ldp3
Now click Connection and connect to the Server

 

ldp4
Specifying the Server you want to connect

 

ldp5

 

When press Enter connection is established as shown below:

 

ldp6
Now authenticating the User to Domain Controller referred to using LDP to Bind as shown below:

 

ldp7

 
When you press enter and New Window is popped up

 

ldp8

 

Here you need to select “Bind with Credentials”. Provide the User name and Credentials with Domain press OK.

 

ldp9
Now when you press enter you can see User has been authenticated as shown below:

 

ldp15

 

For performing any setting Please click Browse

 

ldp10
Ok now let’s jump back into the steps.

Finally, the user now needs to configuration in LDP to view the Structure for the Active Directory. As AD uses LDAP you must provide the information using the LDP syntax. For providing the information click View Tab.

Here you see Tree and Enterprise Configuration

Note: Each and every task is tracked example If I selected Sid Lookup under the options and I have cancelled and that has been tracked as shown below:

 

ldp11

 

Ok now when you click on View Tab you can find two options as said Tree and Enterprise Configuration.

 

ldp12
Provide the Syntax

 

ldp13

 

Press Ok

Connection is established

 

ldp14

 

Now Access the required fields
Great we have seen Accessing Active Directory Information with LDP.
In next blog we’ll see Restoring Deleted Active Directory Objects using LDP.exe

 
Praveen Kumar
MCTS, MCITP | Exchange Server 2010
Publisher @ Techrid.com

 


Leave a comment

Translate »