HELP! CSVDE limitations with password import to AD

  • Thread starter Thread starter james
  • Start date Start date
J

james

Since I have constructed my CSVDE file via Excel with the
appropriate LDAP attributes, I wanted to double check if
it is possible for me to import password credentials using
CSVDE ? I recall in my AD 1561/2154 class that CSVDE's
cannot handle passwords. Can LDIFDE handle password
importation?

Thanks.

James
 
It might not be useful if you are specifying a lot of LDAP attributes, but
addusers.exe can add users with passwords. Maybe you could use addusers.exe
to import accounts and then use LDIFDE to modify them with the advanced
attributes.
 
Matjaz,
Thanks. I was able to use

stringconverter \"MyPassword\" encode /unicode

And the converted unicodePwd: is what is expected by the
LDIFDE import for AD.

How can i use stringcoverter in bulk if I had 1600 users.

Thanks.

James
 
On the link I gave you, there is a option to use stringconverter as COM
Automation module in VBScript. You will have to create a script that reads
passwords from somewhere and writes them in some other file. If you need any
help with that I will be glad to assist you.

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), Windows MVP
(e-mail address removed)
http://ladava.com
 
Matjaz,
Yes, i see the script on page 2.
Question,
What is expected in file1 & file2?
i only need for example "Heart243" converted
to /unicode /encode format.

I would assume that if i had "Heart243" contained on
File1, after execution of the script, File2 would have
IgBIAGUAYQByAHQAMgA0ADMAIgA=

Correct assumption?

Thanks.
James
 
I would assume, that it converts the entire file to unicode. It is the same
as calling utility with parameters stringconverter file1.txt file2.txt
/unicode
But in your case I would use first part of the script and do some looping
and converting various passwords.
 
Can you help me out with this. Our passwords are in the
following format.

Train01
Train02
Train03

Thanks.
James
 
Ok, I'm attaching you the full script I created. Create a text file
openpass.txt and enter your password in every line. Run the script (in the
same folder as openpass.txt). It will create a result.txt file containing
unicode encoded passwords for LDIFDE.

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), Windows MVP
(e-mail address removed)
http://ladava.com
 
Back
Top