Export all OU in the forest using LDIFDE

  • Thread starter Thread starter Nhan Ly
  • Start date Start date
N

Nhan Ly

Hello,

I want to export all of the OU in the production AD and imported to the test
AD to mimic the production environment. I use the ldifde and got the error
8224 "The connection could not be established" This is the comand that I
used.

ldifde -f exportOu.ldf -s <server name> -d "dc=mydomain,dc=com" -p subtree
-r "(objectCategory=organizationalUnit)" -l "cn,objectclass,ou"

Any help is appreciated.
 
Hello Nhan,

What if you use the FQDN of the server:
ldifde -f exportOu.ldf -s servername.mydomain.com -d "dc=mydomain,dc=com"
-p subtree -r "(objectCategory=organizationalUnit)" -l "cn,objectclass,ou"


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
 
Back
Top