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
 
Back
Top