Export all OU in the forest using LDIFDE


Nhan Ly


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

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.



Meinolf Weber

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Multiple OU's in csvde 0
LDIFDE - Export 2
Echo does not return variables 0
export group using ldifde 2
Import users to another domain with LDIFDE 1
LDF File Line Breaks 2
LDIFDE Export Help! 1