CSVDE Import Error

E

Eric B. Twing

OK. I found the header tag that would allow me to associate a password with
the new accounts "userPassword", by searching the schema but I still get an
error on the inport. This is even after removing password restrictions from
the Domain Policy.

c:\>csvde -i -f test.csv -j c:\ -k -v

Attribute 0) sAMAccountName: LPAcosta
Attribute 1) userPrincipalName: (e-mail address removed)
Attribute 2) telephoneNumber: 225-9835
Attribute 3) displayName: Lupe P Acosta
Attribute 4) givenName: Lupe
Attribute 5) middleName: P
Attribute 6) sn: Acosta
Attribute 7) mail: (e-mail address removed)
Attribute 8) department: HR
Attribute 9) userAccountControl: 512
Attribute 10) objectClass: user

Add error on line 12: Unwilling To Perform
The server side error is "Unable to update the password. The value
provided for the new password does not meet the length, complexity,
or history requirement of the domain."
An error has occurred in the program

I'll include a sample of the import file, minus the OU's it imports. (Note
the header has more fields than the user data to import; these are for the
OU's imported)

DN,sAMAccountName,userPrincipalName,telephoneNumber,displayName,givenName,mi
ddleName,sn,mail,department,userAccountControl,objectClass,instanceType,dist
inguishedName,objectCategory,ou,name,userPassword
"CN=Lupe P
Acosta,OU=HR,DC=twing,DC=com",LPAcosta,[email protected],225-9835,Lupe P
Acosta,Lupe,P,Acosta,[email protected],HR,512,user,,,,,Password123
 
?

=?ISO-8859-1?Q?Ra=FAl_Santisteban?=

This ldif file works for me:
ldifde -s MYSERVER -i -f "user.ldf"

---- begin of file ------
dn: CN=newuser,CN=Users,DC=mydomain,DC=com
changetype: add
accountExpires: 9223372036854775807
cn: newuser
codePage: 0
countryCode: 0
displayName: newuser
distinguishedName: CN=newuser,CN=Users,DC=mydomain,DC=com
givenName: newuser
instanceType: 4
msNPAllowDialin: TRUE
name: newuser
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=mydomain,DC=com
objectClass: user
sAMAccountName: newuser
userAccountControl: 66048
userPrincipalName: (e-mail address removed)
uSNChanged: 136795
uSNCreated: 136779
whenChanged: 20030313161518.0Z
whenCreated: 20030313161412.0Z


dn: CN=newuser,CN=Users,DC=mydomain,DC=com
changetype: modify
replace: userPassword
userPassword::nuevo_password
-

---- end of file ------
 
E

Eric B. Twing

For reasons of academics I need to make the CSVDE solution work. Thanks for
the quick response. Do you have any ideas for this little problem. It should
work, according to my example but it don't..

Thanks
Eric Twing
 
K

Kevin Mattson

According to the error you are recieving the new password does not meet
the complexity requirements. Either change the domain security policy
to not require that passwords meet the complexity requirements or
choose a password that meets the requirements - a combination of upper
case letters, lower case letters, numbers and symbols.

Kevin Mattson, MCSE
www.deploy-tech.net
 

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