0

I have setup a passwordpolicy on my openLDAP that is user is not able to change password, using his/her old password. Error message is working on my openLDAP but in keycloak the error message is different. See below image:

Error Message

I've searched that this message is located here: https://github.com/keycloak/keycloak/blob/master/federation/ldap/src/main/java/org/keycloak/storage/ldap/idm/store/ldap/LDAPOperationManager.java

But i don't know where to find this java file in my keycloak-3.4.3.Final folder. And how to modify it.

I can't use the not recently used password policy: https://www.keycloak.org/docs/3.2/server_admin/topics/authentication/password-policies.html too since it is working only inside the keycloak db. And im using an LDAP federation.

Please help thank you.

LogronJ
  • 561
  • 2
  • 4
  • 24
  • What do the KC logs say? – Aritz Jun 11 '18 at 08:45
  • There is No any logs on KC after i reset the password. @XtremeBiker – LogronJ Jun 11 '18 at 09:01
  • I found this post: http://lists.jboss.org/pipermail/keycloak-user/2017-September/011711.html . It says KC only supports MSAD and translate the error message. Maybe that's why my error message is not translated because i am using openLDAP. – LogronJ Jun 11 '18 at 09:29

0 Answers0