This small perl program allows you to easily export LDAP entries from an LDAP server (MS ActiveDirectory for example) to csv format. It can export various csv formats and can deal with mutlivalued attributes.
Program to synchronize AD user objects of different AD forests
Synchronize address data (e.g. Outlook Global Address List (GAL)) between different Active Directory (AD) forests.
The process is as follows:
1) Export user objects of source forest using LDIFDE (a tool provided by Microsoft)
2) Use the program LoadADContacts2 to determine differences between this export and the specified OU of the target AD forest.
3) Update the OU of the target AD forest using LDIFDE using the output of LoadADContacts2
Now users in the target forest can see the users of the source forest in their Global Address List.
...
LDIFtoCSV
Converts LDIF(LDAP Data Interchange Format)
text files to CSV(comma-separated values) text files.
The file can then be manipulated in a text editor or
spreadsheet program easier.