I am attempting to import two user obects using CSVDE on a book exercise for
managing and maintaining a Microsoft Server 2003 environment. The textbook
instructed me to type the following information in notepad, creating 3 lines
of text.

DN,objectClass,sAMAccountName,sn,givenName,userPrincipleName

"CN=John
Doe,OU=Employees,DC=contoso,DC=com",user,jdoe,Doe,John,john.doe@contoso.com

"CN=George Brown,OU=Employees,
DC=contoso,DC=com",user,gbrown,Brown,George,george.brown@contoso.com

Next, I am instructed to save the file as "C:\USERS.CSV"
Next, I open the command prompt and type the following:
csvde -i -f c:\users.csv
I get the following response:

Connecting to "(null)"
Logging in as current user using SSPI
Importing directory using 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 create a log file, use the -j option.

Can someone help me figure out how to correct the problem?
Jason

RE: Importing user objects using CSVDE by TBackstrom

TBackstrom
Mon Jan 30 23:59:27 CST 2006

Try this:

objectClass,sAMAccountName,DN,sn,givenName,userPrincipleName
user,jdoe,"CN=John
Doe,OU=Employees,DC=contoso,DC=com",Doe,John,john.doe@contoso.com
user,gbrown,"CN=George
Brown,OU=Employees,DC=contoso,DC=com",Brown,George,george.brown@contoso.com

------------------------------------------
U.S. Air Force Retiree
MCSA: Messaging on Windows 2003
MCSA: Messaging on Windows 2000
MCSE on Windows 2000



"jaybrown" wrote:

> I am attempting to import two user obects using CSVDE on a book exercise for
> managing and maintaining a Microsoft Server 2003 environment. The textbook
> instructed me to type the following information in notepad, creating 3 lines
> of text.
>
> DN,objectClass,sAMAccountName,sn,givenName,userPrincipleName
>
> "CN=John
> Doe,OU=Employees,DC=contoso,DC=com",user,jdoe,Doe,John,john.doe@contoso.com
>
> "CN=George Brown,OU=Employees,
> DC=contoso,DC=com",user,gbrown,Brown,George,george.brown@contoso.com
>
> Next, I am instructed to save the file as "C:\USERS.CSV"
> Next, I open the command prompt and type the following:
> csvde -i -f c:\users.csv
> I get the following response:
>
> Connecting to "(null)"
> Logging in as current user using SSPI
> Importing directory using 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 create a log file, use the -j option.
>
> Can someone help me figure out how to correct the problem?
> Jason
>
>