sureshanaparti opened a new issue, #11199:
URL: https://github.com/apache/cloudstack/issues/11199

   ### problem
   
   When the LDAP server response timed out, CloudStack immediately disables the 
user.
   
   `javax.naming.NamingException: LDAP response read timed out, timeout used: 
1000 ms. 
   `
   
   User is disabled from here: 
https://github.com/apache/cloudstack/blob/6059724189759470208a8e135744314119323534/plugins/user-authenticators/ldap/src/main/java/org/apache/cloudstack/ldap/LdapAuthenticator.java#L175-L177
   
   
https://github.com/apache/cloudstack/blob/6059724189759470208a8e135744314119323534/plugins/user-authenticators/ldap/src/main/java/org/apache/cloudstack/ldap/LdapManagerImpl.java#L305-L307
   
   ### versions
   
   ACS 4.20.1 
   
   ### The steps to reproduce the bug
   
   1. Keep LDAP server not reachable to the management server (and let the LDAP 
queries to timeout)
   2. Login with the LDAP user
   
   
   ### What to do about it?
   
   Either ignore the timed out errors from the LDAP server during user queries, 
or allow re-attempts based the configuration 
'_incorrect.login.attempts.allowed_'. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to