Re: encryption userPassword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luigi Santangelo wrote:
userPassword: {MD5}valkOsZgFyKijyOHFCdNpA==
[..]
But if I create, with the MD5sum utility, the MD5(red), I got 1098e2cb1442f45f8ca2e74e1cd24bd0

If everything's correct it should be the same binary MD5 value but differently encoded to be ASCII-clean. The value for userPassword is base64-encoded after the password scheme identifier (here {MD5}). The command-line tool md5sum generates hex-byte encoding. Note that I didn't check whether the values you provided above are actually the same binary MD5 value. Take care of possible line-breaks or other white-space chars when using md5sum.

You should probably consider using a decent scripting language instead of command-line tools to generate values for userPassword though.

See also (yes, it also applies to FDS): http://www.openldap.org/faq/data/cache/419.html

Ciao, Michael.

--
Michael Ströder
E-Mail: michael@xxxxxxxxxxxx
http://www.stroeder.com

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux