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

Knox with Ldap

Highlighted

Knox with Ldap

Explorer

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.

ldap-config.xml

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 (KnoxLdapRealm.java:doGetAuthenticationInfo(196)) - Could not login: org.apache.shiro.authc.UsernamePasswordToken - raffi, rememberMe=false (172.17.0.2)

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

1 REPLY 1
Highlighted

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?