Here is a class (VB.Net) that can backup the active directory by Ldifde tool that provided with windows 2000 server or windows 2003 server.
The main function- “ Backup“ gets the following parameters:
- FieldList - an array list of all the fields that ldifde tool will backup.
-
QueryFilter - a string that contains the query filter, in my example , the filter is set to - users only.
-
DomainName - string - an LDAP syntax of the domain name we want to backup.
limitations:
this class should be used only on the following operating systems:
- Windows 2000 Server.
- Windows 2003 Server.
- Windows 2000 pro.*
- windows Xp Pro *
* only if the ldifde tool imported to the system32 folder.
For more information about ldifde:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q237/6/77.ASP&NoWebContent=1