LDIFDE Export


M

Mike

I want to modify the Home Directory of users in Active
Directory. Iused this example from Microsoft to Export the
users :

ldifde -f Exportuser.ldf -s Server1 -t 3268 -
d "dc=Export,dc=com" -p subtree -r "(&
(objectCategory=person)(objectClass=User)(givenname=*))" -
l "cn,givenName,objectclass,sAMAccountName"

I would like to know what command would I use to export
the home directory information also, and where it fits in
the above command line. Thank you all very much for your
help.
 
Ad

Advertisements

C

Charles Kerekes

ldifde -f Exportuser.ldf -s Server1 -t 3268 -
d "dc=Export,dc=com" -p subtree -r "(&
(objectCategory=person)(objectClass=User) (givenname=*))" -
l "cn,givenName,objectclass,sAMAccountName"

Mike,

In the above example leave off the -l parameter to export
all attributes of the user objects. Then look through the
result and it should be easy to find the attribute name
which holds the Home Directory.

Modify your command line again, this time put back the -l
parameter but add the attribute name for the home
directory. For example, IF this attribute is called
homeDirectory, then you would put:

-
l "cn,givenName,homeDirectory,objectclass,sAMAccountName"

Charlie
 
Ad

Advertisements

M

Miss

I used this command to export Home Directory and Profile
path where the users are in an OU called Marketing in
domain miss.com:

ldifde - f Export.ldf -s Server1 -
d "OU=Marketing,DC=miss,DC=com" -
l "homeDirectory,profilePath"


Miss
 

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