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 at stroeder.com
http://www.stroeder.com




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux