CSVDE and LDIFDE command problems.

Hey TE,
I've recent started studying for the 70-640 and purchased the Self-paced training kit for it. While running through the labs in the book, I've run into a problem. I've been trying to get the csvde and ldifde commands to work but they both don't seem to take. Using the dsadd command works for adding individual users.
Currently using a trial W2K8R2 Enterprise for my studies.
Here's what I get when I input the commands:
C:\Users\Administrator\Documents>csvde -i -f newusers.txt -k
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "newusers.txt"
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.
C:\Users\Administrator\Documents>ldifde -i -f newusers.ldf -k
Connecting to "SERVER01.contoso.com"
Logging in as current user using SSPI
Importing directory from file "newusers.ldf"
Loading entries.
Add error on entry starting on line 1: No Such Attribute
The server side error is: 0x57 The parameter is incorrect.
The extended server error is:
00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operati
on, data 0, v1db1
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.
This is my "newusers.txt" file:
DN,objectClass,sAMAccountName,sn,givenName,userPrincipleName
"cn=Lisa Andrews,ou=People,dc=contoso,dc=com",user,lisa.andrews,Lisa,Andrews,[email protected]
"cn=David Jones,ou=People,dc=contoso,dc=com",user,david.jones,David,Jones,[email protected]
I've looked at the book and have gone through the and checked the syntax, spelling, spacing, etc on the .txt and .ldf files and they both look like they do in the book.
Can anybody give me some insight on what I'm doing wrong?
I've recent started studying for the 70-640 and purchased the Self-paced training kit for it. While running through the labs in the book, I've run into a problem. I've been trying to get the csvde and ldifde commands to work but they both don't seem to take. Using the dsadd command works for adding individual users.
Currently using a trial W2K8R2 Enterprise for my studies.
Here's what I get when I input the commands:
C:\Users\Administrator\Documents>csvde -i -f newusers.txt -k
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "newusers.txt"
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.
C:\Users\Administrator\Documents>ldifde -i -f newusers.ldf -k
Connecting to "SERVER01.contoso.com"
Logging in as current user using SSPI
Importing directory from file "newusers.ldf"
Loading entries.
Add error on entry starting on line 1: No Such Attribute
The server side error is: 0x57 The parameter is incorrect.
The extended server error is:
00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operati
on, data 0, v1db1
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.
This is my "newusers.txt" file:
DN,objectClass,sAMAccountName,sn,givenName,userPrincipleName
"cn=Lisa Andrews,ou=People,dc=contoso,dc=com",user,lisa.andrews,Lisa,Andrews,[email protected]
"cn=David Jones,ou=People,dc=contoso,dc=com",user,david.jones,David,Jones,[email protected]
I've looked at the book and have gone through the and checked the syntax, spelling, spacing, etc on the .txt and .ldf files and they both look like they do in the book.
Can anybody give me some insight on what I'm doing wrong?
Comments
Thanks for the reply. I went to the website given in the book. But it just defaults to the learning network.
Tried this Technet Article, but still got the same result.
DON'T USE SPACE BEFORE OR AFTER THE COLON just like this .... DN:CN=April....
and this is the famous example below:
DN:CN= April Stewart,OU=People,DC=contoso,DC=com
changeType:add
CN:April Stewart
objectClass:user
sAMAccountName:april.stewart
userPrincipalName:[email protected]
givenName:April
sn:Stewart
displayName:Stewart,April
mail:[email protected]
description:Sales Representative in the USA
title:Sales Representative
department:Sales
company:Contoso, Ltd.
DN:CN= Tony Krijnen,OU=People,DC=contoso,DC=com
changeType:add
CN:Tony Krijnen
objectClass:user
sAMAccountName:tony.krijnen
userPrincipalName:[email protected]
givenName:Tony
sn:Krijnen
displayName:Krijnen,Tony
mail:[email protected]
description:Sales Representative in the NetherLands
title:Sales Representative
department:Sales
company:Contoso, Ltd.
JUST LIKE THAT.
unable to read the import file newusers.ldf
no log files were written. in order to generate a log file , please specify the log file path via the -j option.
i have tried copying and carefully watching the spaces and spelling and lines and spaces but still couldnt get the result
help required please
hxxp://oreilly dot com/catalog/errata dot csp?isbn=0790145314413
I had the same problem with these labs and some of it was typos in the book.
Good luck with your exam!
Current Certs: CCENT | MCTS | Network+
Currently Working On: Security+
Check the spacing and follow it exactly
make sure you do not have an extra space after the last line at the bottom
everything is so sensitive this seems to be a difficult way to import users.
Thanks for the help.