Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Importing of OU Structure

$
0
0

We are performing an AD migration from one forest to another. I have exported the OU structure from one domain but when I import it into the other domain that we are moving to only about half the OUs get imported.

The export script I used is

ldifde -f c:\temp\exportOU.ldf -s vv-dc.transform.local -d "dc=transform,dc=local" -p subtree -r "(objectcategory=organizationalUnit)" -l "cn,objectclass,ou"

The import script I used is 

ldifde -i -f "c:\temp\vector-exportnew.ldf"

The error that shows up on the screen is below

PS C:\temp\GPOMigration> C:\temp\import.ps1
Connecting to "red.red.local"
Logging in as current user using SSPI
Importing directory from file "c:\temp\paa-exportnew.ldf"
Loading entriesAdd error on entry starting on line 703: No Such Object
The server side error is: 0x208d Directory object not found.
The extended server error is:
0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:
'OU=HJM,OU=PAA,OU=legacy_vector,DC=red,DC=local'

117 entries modified successfully.
An error has occurred in the program
No log files were written.  In order to generate a log file, please
specify the log file path via the -j option.

What is causing this issue as I am not sure why it is missing quite of bit of OUs.


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>