Adding users with csvde

Joined
Feb 10, 2007
Messages
3
Reaction score
0
I am trying to add users to a 2k3 server using csvde i keep getting the same error.

I know this is straight from the book.

This is my script
Dn,objectClass,sAMAccountName,sn,givenName,User,Us erPrincipalName
"CN=Lorrin Smith-Bates,OU=Employees,DC=contoso,DC=com",user,lsmithb ates,Smith-Bates,Lorrin,[email protected]
"CN=Danielle Tiedt,OU=Employees, DC=contoso,DC=com",user,dtiedt,Tiedt,Danielle,dani(e-mail address removed)


This is the command
C:>csvde -i -f c:users.csv

This is the error
C:>csvde -i -f c:users.csv
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "c:users.csv"
Loading entries.
Add error on line 2: No Such Attribute
The server side error is "The parameter is incorrect."
0 entries modified successfully.
An error has occurred in the program
No log files were written. In order to generate a log file, please
specify the log file path via the -j option.

I am not to sure what the meaning of "no such attribute"

The document is a little unclear in regards to spaces. I have put spaces where i thought they should go and taken them away again still no luck.

Can anyone help thanks
 
Joined
Feb 10, 2007
Messages
3
Reaction score
0
this is the error log i get when i run with the -j option

Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "c:\users.csv"
Loading entries
2: CN=Lorrin Smith-Bates,OU=User,DC=contoso,dc=com
Attribute 0) objectClass: user
Attribute 1) sAMAccountName: lsmithbates
Attribute 2) sn: Smith-Bates
Attribute 3) givenName: Lorrin
Attribute 4) User: (e-mail address removed)
Add error on line 2: No Such Attribute
The server side error is "The parameter is incorrect."
0 entries modified successfully.
An error has occurred in the program
 

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

Top