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

Re: authentification issue with clear text password



Hi Szilard
your PW is SSHA encoded:

base64 -d
e1NTSEF9L0NFMERQNTVtOU82T09HK1AzQVdNZG9nU2x6Z0FwTGw=
{SSHA}/CE0DP55m9O6OOG+P3AWMdogSlzgApLl

SSHA encode the value you wanna compare and then compare it.

suomi


On 02/15/2012 12:38 PM, Szilard Gyorgy wrote:
HI

Can anybody help me with the next issue ?

ldapcompare -D "uid=testuser,ou=Users,dc=domain,dc=net" -w test
"uid=testuser,ou=Users,dc=domain,dc=net" -v userPassword:test

ldap_initialize( <DEFAULT> )

DN:uid=testuser,ou=Users,dc=domain,dc=net, attr:userPassword, value:test

Compare Result: Compare False (5)

*FALSE*

BUT

ldapcompare -D "uid=testuser,ou=Users,dc=domain,dc=net" -w test "uid=
testuser,ou=Users,dc=domain,dc=net" -v
userPassword::e1NTSEF9L0NFMERQNTVtOU82T09HK1AzQVdNZG9nU2x6Z0FwTGw=

ldap_initialize( <DEFAULT> )

DN:uid= testuser,ou=Users,dc=domain,dc=net, attr:userPassword,
value::e1NTSEF9L0NFMERQNTVtOU82T09HK1AzQVdNZG9nU2x6Z0FwTGw=

Compare Result: Compare True (6)

*TRUE*

I know that the problem is not with ldapcompare but I can’t figure our
where it is.

Thank You,

Szilard Gyorgy