Support Questions
Find answers, ask questions, and share your expertise

Knox with Ldap


Knox with Ldap


I am trying to set up knox with LDAP. I have connected ranger-sync to the LDAP to pull users and groups. So far I have been unable to connect know to the LDAP server and have been unable to connect to HDFS to knox.

Here is my configuration.


However, it will not authenticate with the LDAP I have set up. I am new to this area, am I just missing something? Is there something beyond the ldap server that I missed?

Stack Trace

2016-10-31 01:29:59,567 INFO hadoop.gateway ( - Could not login: org.apache.shiro.authc.UsernamePasswordToken - raffi, rememberMe=false (

2016-10-31 01:29:59,567 ERROR hadoop.gateway ( - Shiro unable to login: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]


Re: Knox with Ldap

Expert Contributor

Thats because you do not have configured your LDAP connection. Go to Ambari -> Knox -> Configs -> Advanced topology and fill all the parameters with your configuration.

Don't have an account?