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