I've been automating AD for many years now, and have never (yet) taken the time to figure out the easiest way to
1) Export a live OU structure from AD (say, contoso.local) and
2) Import that OU structure into a dev AD (contoso.fake)
for the purposes of developing logic without muckin' up the live environment.
I've tried using Apache Directory Studio to export the structure as LDIF and then do the same as in import to the fake AD, but it fails with a non-descriptive error.
Any assistance/guidance you can provide me will be greatly appreciated!