Microsoft Article ID: Q263991 talks about using ldifde to set user passwords. I have been attempting “The second way to modify the…” described in the article.
I plan on creating student accounts from a CSV file using csvde, this works fine, and then using ldifde to assign a password to the newly created student accounts, this produces errors.
The command I am running is this:
========================================
ldifde -i -f changepass.ldf -s servername -b admin_user kvcc.edu admin_password
The errors I receive while attempting this are:
========================================
Connecting to “mtec-2k”
Logging in as “admin_user” in domain
Importing directory from file “changepass.ldf
Loading entries.
There is a syntax error in the input file
Failed on token starting with ‘I’ on line 0 0 entries modified successfully.
An error has occurred in the program
the changepass.ldf file contains this:
======================================
dn: CN=Some User,OU=graphics,DC=servername,DC=kvcc,DC=edu
changetype: modify
replace: unicodePwd
unicodePwd::Im1pbmci
the password is enclosed in quotes and is base64 encoded.
encoded password = Im1pbmci
decoded password = “ming”
I am open to other methods toaccomplish this goal as well.
Thanks for your help.