LDIFDE

C

Chris

Is it possible to export the contents of one OU using
LDIFDE?

I can export the user portion of AD but I am having
trouble understanding what to manipulate to allow a single
OU's contents to be exported to file. Changing the
objectclass to OU dosent seem to work. The OU that I am
looking to export is an OU within and OU. This is the
script I have been attempting to use.

ldifde -f Exportuser.ldf -s wrdc -d "dc=rsdwr" -p subtree -
r "(&(objectCategory=person)(objectClass=user)
(givenname=*))" -
l "cn,givenName,objectclass,samAccountName"

Also, does ldifde export passwords as well?

Any help would be appreciated.
 
N

Neil Ruston

What exactly are you trying to dump? If you wish to dump
all objects in an OU, just use your syntax below but for
all object types (ldifde -f Exportuser.ldf -s wrdc -
d "dc=rsdwr" -p subtree). The -d parameter should include
the full path to the OU whose objects are to be exported.

I doubt LDIFDE can export passwords - they are not stored
in AD as passwords in plain text, they are stored as
hashes of the original password.

Reply to the NG with your *precise* requirements from
LDIFDE and someone will be able to help.

Neil
 

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


Top