Home ACTIVE DIRECTORY How to compare two users in Active Directory with ldifde.exe

How to compare two users in Active Directory with ldifde.exe

by Cengiz Kuskaya

Basically we can compare two Active Directory user objects as follows with the built in tool ldifde.exe.

After exporting the user object and all its attributes as described below we can compare the two *.ldf files with Word, Windiff.exe or another comparison tool.

LDIFDE -f User1.ldf -d “CN=Cengiz Kuskaya,OU=Vtas,DC=kuskaya,DC=local”

LDIFDE -f User2.ldf -d “CN=Mustafa Kuskaya,OU=Vtas,DC=kuskaya,DC=local”