Admin Tip #125: LDIFDE - Active Directory Account Manipulation Tool |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
Using the GUI tools is OK for problem-solving and twiddling here or there but there is no substitute for script capable commandline oriented tools. LDIFDE comes with Windows 2000 Server. It can be found in the %WINDIR%\system32 location of a domain controller. It does not get installed on Widows 2000 Professional. Copying and using the ldifde.exe to W2K Pro works just fine.
There is a gotcha! : if you use LDIFE to export Active Directory objects in a multiple domain forest, the export may fail. If the objects are exported, and imported into another domain's AD, the information may be incomplete. The cause it that when you export objects that are in the domain-naming contents, and you do NOT specify a server, LDIFDE searches for a global catalog server. If a global catalog server that is a member of a different domain is located, it may not have all the required Active Directory attributes for the objects that you want to export.
Workaround : use the -s <servername> parameter when you use LDIFDE in a multiple domain forest.
LDIFDE Related tips: