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

Dilli Arumugam commented on KNOX-201:
-------------------------------------

So, you get HTTP/1.1 401 Unauthorized.
How do you verify whether it is a ldap bind issue?

Issue the command (assuming you have the deault shiro parameters in topology 
file and conf/users.ldif).

ldapsearch -h localhost -p 33389 -D 
"uid=guest,ou=people,dc=hadoop,dc=apache,dc=org" -w guest-password -b 
"uid=guest,ou=people,dc=hadoop,dc=apache,dc=org" "objectclass=*"

In more general form the command is
ldapsearch -h {HOS} -p {PORT} -D {DN of binding user} -w {bind password} -b {DN 
of binding user} "objectclass=*}




> add troubleshooting notes on checking ldap connectivity
> -------------------------------------------------------
>
>                 Key: KNOX-201
>                 URL: https://issues.apache.org/jira/browse/KNOX-201
>             Project: Apache Knox
>          Issue Type: Task
>          Components: Server
>    Affects Versions: 0.3.0
>            Reporter: Dilli Arumugam
>            Assignee: Dilli Arumugam
>             Fix For: 0.3.1
>
>
> We should add troubleshooting notes on checking ldap connectivity.
> Otherwise,  user could be left in dark if the authentication to Knox fails.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to