[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7869) [PATCH] contrib passwd/apr1 do_phk_hash arguments
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7869) [PATCH] contrib passwd/apr1 do_phk_hash arguments
- From: ryan@nardis.ca
- Date: Thu, 17 Jul 2014 22:19:05 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Thanks for following up.
On Thu, Jul 17, 2014 at 2:00 PM, Howard Chu <hyc@symas.com> wrote:
> my($password) = 'seekrit';
> my($salt) = 'pepperoni';
> my($apache_crypted) = apache_md5_crypt($password, $salt);
$apr1$pepperon$VBD3GaYfoFXuIcZrTw/Y//
> can be converted to OpenLDAP {BSDMD5} and {APR1} format, respectively
{APR1}FK7q3pAf80k0Wh9BYZJ0FHBlcHBlcm9u
correct?
> and matches the output generated by the current module using the same salt and plaintext.
dn: uid=test,dc=example,dc=com
objectClass: account
objectClass: simpleSecurityObject
userPassword: {APR1}FK7q3pAf80k0Wh9BYZJ0FHBlcHBlcm9u