csvde with windows server 2003

S

Simon

Hi NG

Sorry that I post in here, but I don't find any NG for Windows Server 2003.

I want to import users with the tool csvde.exe into active directory on a
computer running Windows Enterprise Server 2003.
I just do what I did with the Active Directory in Windows 2000.

Sample:
dn,sAMAccountName,userPrincipalName,telephoneNumber,department,objectClass,u
serAccountControl
"CN=User
Name,OU=Sales,DC=myDomain,DC=ch",username,[email protected],555-2233,Sale
s,user,512

As long that I don't use any UserAccountControl-Values it works just fine,
but the useraccounts are deactivated. When I use UserAccountControl with the
value 512 (or any other values) I get an internal Server error with the
number 1325.

Does anyone has any idea or even a solution?

Any hint are appreciated.

thx Simon
 
D

Dale Weiss

Hello,

Typing net helpmsg 1325 gives me this text:

Unable to update the password. The value provided for the new password does
not meet the length, complexity, or history requirement of the domain.



This seems to indicate that there is an issue with the password policy
kicking in when the user is created. This would explain why the users are
being created as disabled users. The UserAccountControl value for a
disabled user is 514 (IIRC). If you are trying to set the
UserAccountControl value to 512 (which is an enabled user) this is probably
why the system is complaining.

Check your password policy. Setting the password remotely with CSVDE may be
difficult. There are some special requirements. The password attribute is
unicodePwd and working with it has special requirements.

See:

263991 How to Set a User's Password with Ldifde
http://kb/article.asp?id=Q263991

LDIFDE is similar in purpose and operation to CSVDE so this article may
help.

Dale Weiss MCSA MCSE CISSP
PSS Security

This posting is provided "AS IS" with no warranties, and confers no rights.
Any opinions or policies stated within are my own and do not necessarily
constitute those of my employer. Use of included script samples are subject
to the terms
specified at http://www.microsoft.com/info/cpyright.htm
 

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

Similar Threads


Top