none
DSADD user getting failed logon error

    Question

  • I am trying to create a batch file that will upload multiple users at once and I am creating the syntax for the dsadd command I need. But every time i try it I get:

    dsadd failed: The logon attempt failed.

    Here is my code:

    dsadd user -u username -display "Fname" "Lname" -pwd Password1    -fn fname -ln lname "CN= Tlname,OU=Myou Users,DC=mydomain,DC=com" -mustchpwd yes -disabled no -canchpwd yes

    Where can I check for further information to solving this issue.

    I can add users with less attributes but really this process would be pointless if I had to go into every one of them after the fact to change the missing attributes.

    Thanks in advance.

    Tuesday, July 10, 2012 4:35 PM

Answers

All replies