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?
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]
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.