jonas_pina
asked on
CSVDE Import Error "Multiple values were specified for an attribute that can have only one value."
I have a problem importing users into my windows 2003 DC. Below is a copy of the error I am recieving and also my CSV file.
Here is a copy of my ERROR
Importing directory from file "KvagosF.csv"
Loading entries
2: CN=Fatzinger Eric, OU=JICPAC, DC=pacom, DC=Kor, DC=cmil, DC=mil
Attribute 0) objectClass: user
Attribute 1) sAMAccountName: pdfatew
Attribute 2) userPrincipalName: pdfatew@pacom.kor.cmil.mil
Attribute 3) SN: Fatzinger
Attribute 4) CN: COL Fatzinger, Eric US
Attribute 5) displayName: Fatzinger, Eric COL US
Attribute 6) givenName: Eric
Add error on line 2: Invalid DN Syntax
The server side error is "Multiple values were specified for an attribute that can have only one value."
If you need to see the file I will have to email it to you directly.
Here is a copy of my ERROR
Importing directory from file "KvagosF.csv"
Loading entries
2: CN=Fatzinger Eric, OU=JICPAC, DC=pacom, DC=Kor, DC=cmil, DC=mil
Attribute 0) objectClass: user
Attribute 1) sAMAccountName: pdfatew
Attribute 2) userPrincipalName: pdfatew@pacom.kor.cmil.mil
Attribute 3) SN: Fatzinger
Attribute 4) CN: COL Fatzinger, Eric US
Attribute 5) displayName: Fatzinger, Eric COL US
Attribute 6) givenName: Eric
Add error on line 2: Invalid DN Syntax
The server side error is "Multiple values were specified for an attribute that can have only one value."
If you need to see the file I will have to email it to you directly.
You will have to post the file to EEStuff as I was given a yellow card for giving my e-mail address.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
your CN's are defunct. the DN that you have constructed tells the DS to make the common name Fatzinger Eric where later you have a CN attribute column n your CSV that tells it to make the CN attribute COL Fatzinger, Eric US, if you make them the same it will work.
also the quotes thing that was mentioned would be good because of the spaces, but csvde will spit it out all escaped the way it needs to be.
2: CN=Fatzinger Eric, OU=JICPAC, DC=pacom, DC=Kor, DC=cmil, DC=mil
Attribute 0) objectClass: user
Attribute 1) sAMAccountName: pdfatew
Attribute 2) userPrincipalName: pdfatew@pacom.kor.cmil.mil
Attribute 3) SN: Fatzinger
Attribute 4) CN: COL Fatzinger, Eric US
Attribute 5) displayName: Fatzinger, Eric COL US
Attribute 6) givenName: Eric
also the quotes thing that was mentioned would be good because of the spaces, but csvde will spit it out all escaped the way it needs to be.
2: CN=Fatzinger Eric, OU=JICPAC, DC=pacom, DC=Kor, DC=cmil, DC=mil
Attribute 0) objectClass: user
Attribute 1) sAMAccountName: pdfatew
Attribute 2) userPrincipalName: pdfatew@pacom.kor.cmil.mil
Attribute 3) SN: Fatzinger
Attribute 4) CN: COL Fatzinger, Eric US
Attribute 5) displayName: Fatzinger, Eric COL US
Attribute 6) givenName: Eric