HELP! CSVDE limitations with password import to AD

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
 
S

Simon Geary

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.
 
J

james

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
 
M

Matjaz Ladava [MVP]

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
 
J

james

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
 
M

Matjaz Ladava [MVP]

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.
 
J

james

Can you help me out with this. Our passwords are in the
following format.

Train01
Train02
Train03

Thanks.
James
 
M

Matjaz Ladava [MVP]

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
 

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