Want to create a development environment with all the same objects as your production environment? You can use LDIFDE or CSVDE to do it.
Export Users from Production:
-f Exportuser.ldf = Export to this file -s Server1 = Remote server (not needed if run locally) -d “ou=users,dc=Export,dc=com” = LDAP Base DN to begin the export -r “(&(objectCategory=person)(objectClass=User)(givenname=*))” = Filter for the type of objects -l “cn,givenName,objectclass,samAccountName” = Attributes to collect
You will have to do a find/replace within the exported file to adjust for a different domain name if it is different from the Production.
Import Users into Development:
The “-f” and “-s” switches are the same as the export. The addition of “-i” tells LDIFDE to import.
CSVDE works much the same as LDIFDE