We help IT Professionals succeed at work.

AD bulk export  and Import Group and members ldifde

aspectit
aspectit asked
on
6,524 Views
Last Modified: 2012-06-27
Windows 2003 AD
I am trying to create replica of my production AD environment. domain.com to Domain-it.com
I need to bring over the security groups and distribution lists with mangers. Using ldifde i was able to bring over the OU structure and users, but I need to bring Groups with member and memberof
Here is the export command that I used but import fails with numerous errors
export command
ldifde -f c:\temp\DistGroups.ldf -s dom01 -d "ou=groups,dc=domain,dc=com" -p subtree -r "(&(objectClass=group))" -l "ObjectClass,name,sAMAccountName,groupType,member,managedBy,mailNickName,mail,cn,displayName"
Import fails with constraint violation ..etc  
Please advice
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks guys ADMT will work
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.