The attribute is unicodePwd, but I'm not sure if the passwords are actually
stored there or if they go through additional layers. It is not documented.
Since you can't read it anyway, why does this matter?
Note that generally several passwords will be stored based on the password
history policy. They are accepted as unicode and are generally hashed for
storage unless reversible encryption is enabled. There is no way to know
how big the data would be, but AD supports passwords up to 128 characters as
I understand it (256 bytes).
If you want to find out more details about how they are actually stored, you
need to look at the DIT file. The LDAP stuff is just a facade over that.
Joe K.
Post by Tim KalligonisThanks for the reply Joe.
Do you know where it is stored?... I understand I wouldn't be able to read
it.... sure hope M$ doesn't store passwords in clear text. ;)
This is what I am looking for.
Where is the password?
How big is it (bytes)?
Post by Joe Kaplan (MVP - ADSI)Yes, but it cannot be read via LDAP. It is write-only.
Essentially, you can't read AD passwords, hashed or otherwise, without
resorting to hacking. No APIs expose them.
Joe K.
Post by Tim KalligonisWhere is a user's password stored in AD. Is it an attribute on the user
object?
Thanks,
Tim