Changing LDAP/AD User Password via JBossEAP CLI for Elytron
Issue
- Change password for user
- User can't login with new password after password change.
-
Password change throws exception:
WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYELY01011: Could not create password.
Or
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - CONSTRAINT_VIOLATION: failed for MessageType : MODIFY_REQUEST
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 7.1 or later
- Command Line Interface or Http Management API
- Lightweight Directory Access Protocol (LDAP) or Microsoft Active Directory (AD)
- Elytron Security
- Caching Realm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.