[ 
https://issues.apache.org/jira/browse/KNOX-2315?focusedWorklogId=417408&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-417408
 ]

ASF GitHub Bot logged work on KNOX-2315:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Apr/20 03:00
            Start Date: 07/Apr/20 03:00
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on pull request #304: KNOX-2315 - 
Fix zookeeper Kerberos Auth
URL: https://github.com/apache/knox/pull/304#discussion_r404507514
 
 

 ##########
 File path: 
gateway-service-remoteconfig/src/main/java/org/apache/knox/gateway/service/config/remote/zk/CuratorClientService.java
 ##########
 @@ -124,7 +125,14 @@ private RemoteConfigurationRegistryClient 
createClient(RemoteConfigurationRegist
         ACLProvider aclProvider;
         if (config.isSecureRegistry()) {
             configureSasl(config);
-            aclProvider = new SASLOwnerACLProvider();
+            if (!StringUtils.isBlank(config.getAuthType()) && config
+                .getAuthType().equalsIgnoreCase("Kerberos") && !config
 
 Review comment:
   Yeah it should be, I will address it.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 417408)
    Time Spent: 1h 20m  (was: 1h 10m)

> Zookeeper kerberos remote configuration registry broken
> -------------------------------------------------------
>
>                 Key: KNOX-2315
>                 URL: https://issues.apache.org/jira/browse/KNOX-2315
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When using the [recommended 
> configuration|https://knox.apache.org/books/knox-1-3-0/user-guide.html#Remote+Configuration+Registry+Clients]
>  for setting up Kerberos authentication for Zookeeper Knox fails to come up 
> with the following error
> {code}
> org.apache.zookeeper.KeeperException$InvalidACLException: KeeperErrorCode = 
> InvalidACL for /knox
> {code}



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

Reply via email to