Not throwing UserLockoutException.LDAPLockout.class, When Account is locked

Chanakya P, modified 2 Years ago. Junior Member Posts: 72 Join Date: 2/17/14 Recent Posts
 Hi All,
 
 liferay dxp portal configred with LDAP server.
 When user account is locked in LDAP that user not getting "this-account-is-locked" key related message.
 It always getting "authentication-failed" key related message.
 
 Note:
 As per my observation,
 Actual Result:
 Alway throwing exception class i.e,AuthException.class even user account is locked in LDAP also.
 
 Expected Result:
 It should be throw exception class i.e,UserLockoutException.LDAPLockout.class when user account is locked in LDAP.
 
 Can any one help me out
Florian Bayer, modified 6 Years ago. New Member Posts: 16 Join Date: 5/23/12 Recent Posts

Hi Chanakya,

take a look at https://dev.liferay.com/discover/deployment/-/knowledge_base/7-1/ldap#ldap-options-available-in-system-settings

Because error messages differ between LDAP servers, you need to define keywords for Liferay to know which error actually occured.