Can CSVDE create OU's

  • Thread starter Thread starter Eric B. Twing
  • Start date Start date
E

Eric B. Twing

I can set up the CSV file to import and modify user accounts but I need to
first create the OU's the users will go into. What does the basic header and
data look like. The objectClasss column returns errors when using "ou" for
the entry and "organizationalUnit". I can find no examples of how CSVDE
imports OUs (just the containers).

Thanks
Eric Twing
 
You can use CSVDE to create a new ou. The following is
an example of the syntax of the import file to create a
new ou named OU2 in the root.dom domain:

DN,instanceType,distinguishedName,objectCategory,objectCla
ss,ou,name
"OU=OU2,DC=root,DC=dom",4,"OU=OU2,DC=root,DC=dom","CN=Orga
nizational-
Unit,CN=Schema,CN=Configuration,DC=root,DC=dom",organizati
onalUnit,OU2,OU2


You should be aware that you cannot use CSVDE to modify
existing objects. You can only use it to create
objects. Have a look at LDIFDE which can do the
modifications.

Tony
MVP Active Directory
www.activedir.org
 
Thanks. That did the trick!

Eric Twing


Tony Murray said:
You can use CSVDE to create a new ou. The following is
an example of the syntax of the import file to create a
new ou named OU2 in the root.dom domain:

DN,instanceType,distinguishedName,objectCategory,objectCla
ss,ou,name
"OU=OU2,DC=root,DC=dom",4,"OU=OU2,DC=root,DC=dom","CN=Orga
nizational-
Unit,CN=Schema,CN=Configuration,DC=root,DC=dom",organizati
onalUnit,OU2,OU2


You should be aware that you cannot use CSVDE to modify
existing objects. You can only use it to create
objects. Have a look at LDIFDE which can do the
modifications.

Tony
MVP Active Directory
www.activedir.org
 

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
CSVDE and SUBTREE OUs 1
Adding users with csvde 2
LDIFDE - Change Data Import Back to Domain 12
CSVDE and LDIFDE 1
exporting info from an OU 3
CSVDE Import Error 3
Getting list of users 4

Back
Top