[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7869) [PATCH] contrib passwd/apr1 do_phk_hash arguments



Ryan Tandy wrote:
> Shortcut key fail, sorry.
>
> On Thu, Jul 17, 2014 at 3:18 PM, Ryan Tandy <ryan@nardis.ca> wrote:
>> dn: uid=test,dc=example,dc=com
>> objectClass: account
>> objectClass: simpleSecurityObject
>> userPassword: {APR1}FK7q3pAf80k0Wh9BYZJ0FHBlcHBlcm9u
>
> What I meant to say was: I can't bind to that entry with the password "seekrit".
>
Works for me:

dn: cn=joe,ou=people,dc=example,dc=com
objectclass: person
cn: joe
sn: bob
userpassword: {APR1}FK7q3pAf80k0Wh9BYZJ0FHBlcHBlcm9u

violino:~/OD/hobj/tests> ../servers/slapd/slapd -F /tmp/testr/slapd.d -h 
ldap://:9011 -s0 -dnone &
[1] 325
violino:~/OD/hobj/tests> 53c86f8c @(#) $OpenLDAP: slapd 2.X (Jul 13 2014 
19:25:04) $
	hyc@violino:/home/hyc/OD/hobj/servers/slapd
53c86f8c slapd starting

violino:~/OD/hobj/tests> ../clients/tools/ldapwhoami -x -H ldap://:9011 -D 
cn=joe,ou=people,dc=example,dc=com -w seekrit
dn:cn=joe,ou=People,dc=example,dc=com

Also works with {BSDMD5}TvI7yUE++iEAGjN3LfD3l3BlcHBlcm9u which was converted 
from $1$pepperon$hcjHk5Wwr1kCLeFmyAHEr/


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/