Kedar Patankar saw fit to inform LI that: 

>#!/usr/bin/perl
>use MIME::Base64;
>use MD5;
>my $passwd = 'very_secret';
>my $md5 = new MD5;
>print "{MD5}" . encode_base64($md5->hash($passwd,''));

Yep this should do

>And to top it all, the three outputs: viz. /etc/shadow, md5sum and this
>perl script, ***don't*** match eachother... What the hell is happening
>here? I guess I have to ask this on openldap mailing lists...

Do a google search - it'll pick up the relevant hits from the openldap
list archives :)

-- 
Suresh Ramasubramanian | sureshr at staff.juno.com
"The Lord gave us farmers two strong hands so we could grab as much as
we could with both of them."
                -- Joseph Heller, "Catch-22"

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to