didip opened a new issue #11469:
URL: https://github.com/apache/druid/issues/11469


   ### Description
   
   It is very difficult to debug LDAP errors because there's minimal logging. 
For example:
   
   ```
   2021-07-20T15:31:16,522 ERROR [qtp879829980-142] 
org.apache.druid.security.basic.authentication.validator.LDAPCredentialsValidator
 - Exception during user lookup
   javax.naming.InvalidNameException: [LDAP: error code 34 - Invalid DN]
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3202) 
~[?:1.8.0_292]
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2993) 
~[?:1.8.0_292]
   ```
   
   It is very hard to figure out which part of the DN that is bad.
   
   It would be much better if Druid logs more LDAP errors.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to