Re: convert sha1 pwd hash to use with userpwd/unicodePwd
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 27 May 2006 12:09:21 -0500
You would need to do something like that, unfortunately. ADAM (and AD for
that matter) don't really support migration of password data from other
systems unless you have the plaintext password.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Adam" <adamtuliper@xxxxxxxxxxxxx> wrote in message
news:5E1862C0-920A-4AA9-8FE0-88A32D345624@xxxxxxxxxxxxxxxx
hmm..setting userPassword with cleartext then rc4 hashes it (not readable
so
it seems without lcdump but thats fine) correct? So.. since this is a
conversion and original passwords are already hashed, I guess I'll have to
give default passwords and store the old hashes in a new field and verify
them with admin credentials since I wont be able to do a secure bind. This
sound right to you (or default them all to the same pwd and have them
change
on first login, but can't do that because of business reasons).
--
Adam Tuliper
http://www.secure-coding.com
"Joe Richards [MVP]" wrote:
You can not set the hash nor force ADAM to to use a different format.
You will need to set the userPassword with cleartext passwords.
--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
Adam wrote:
Any recommendations on this scenario:
1. An existing ldap store uses the sha1 hashed userpassword attribute.
2. A conversion to ADAM is taking place.
I believe userPassword in ADAM just sits on top of unicodePwd, and this
is
MS's hashing algorithm. Is there any way to have ADAM use the
userPassword
attribute with the sha1 hashes? I can always add it as a second
attribute and
when a user logs and I can match the sha1 hash, set their password to
be what
they entered using an admin binding, but Im curious if there is a much
better
way.
Thanks,
.
- References:
- Re: convert sha1 pwd hash to use with userpwd/unicodePwd
- From: Joe Richards [MVP]
- Re: convert sha1 pwd hash to use with userpwd/unicodePwd
- Prev by Date: Re: ADAM pwd policies
- Next by Date: Re: ADAM - New users reading data - best practices
- Previous by thread: Re: convert sha1 pwd hash to use with userpwd/unicodePwd
- Next by thread: Cannot join domain.
- Index(es):
Relevant Pages
|