[ 
https://issues.apache.org/jira/browse/KNOX-2636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384043#comment-17384043
 ] 

srinath reddy kommera commented on KNOX-2636:
---------------------------------------------

Hello Sandor Molnar,

After i install Knox 1.5 on aws emr 6.3 and after installation when i try to 
run the user-auth-test(LDAP) it fails with below error...

+*FYI::*+

$ bin/knoxcli.sh user-auth-test --cluster emr-ranger-test-cluster-dev --d
Username: srinathreddy_kommera
Password:
java.lang.IllegalArgumentException: Configuration error. Specified object 
[invalidRequest] with property [blockSemicolon] without first defining that 
object's class. Please first specify the class property first, e.g. myObject = 
fully_qualified_class_name and then define additional properties.
org.apache.knox.gateway.util.KnoxCLI$LDAPCommand$BadSubjectException: Subject 
could not be created with Shiro Config at sections=main,urls
org.apache.knox.gateway.util.KnoxCLI$LDAPCommand$BadSubjectException: Subject 
could not be created with Shiro Config at sections=main,urls
 at 
org.apache.knox.gateway.util.KnoxCLI$LDAPCommand.getSubject(KnoxCLI.java:1478)
 at 
org.apache.knox.gateway.util.KnoxCLI$LDAPCommand.authenticateUser(KnoxCLI.java:1344)
 at 
org.apache.knox.gateway.util.KnoxCLI$LDAPCommand.authenticateUser(KnoxCLI.java:1380)
 at 
org.apache.knox.gateway.util.KnoxCLI$LDAPAuthCommand.execute(KnoxCLI.java:1634)
 at org.apache.knox.gateway.util.KnoxCLI.run(KnoxCLI.java:166)
 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
 at org.apache.knox.gateway.util.KnoxCLI.main(KnoxCLI.java:2277)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.knox.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:68)
 at org.apache.knox.gateway.launcher.Invoker.invoke(Invoker.java:39)
 at org.apache.knox.gateway.launcher.Command.run(Command.java:99)
 at org.apache.knox.gateway.launcher.Launcher.run(Launcher.java:75)
 at org.apache.knox.gateway.launcher.Launcher.main(Launcher.java:52)
ERR: Unable to authenticate user:srinathreddy_kommera

> LDAP authentication fails in Apache Knox 1.5.0
> ----------------------------------------------
>
>                 Key: KNOX-2636
>                 URL: https://issues.apache.org/jira/browse/KNOX-2636
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>         Environment: POC
>            Reporter: srinath reddy kommera
>            Priority: Major
>
> When I setup Apache Knox 1.5.0 on AWS EMR 6.3 the ldap user authentication 
> failing ...but when i use lower version of Apache Knox 1.4.0 it works.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to