[
https://issues.apache.org/jira/browse/KNOX-2315?focusedWorklogId=417073&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-417073
]
ASF GitHub Bot logged work on KNOX-2315:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Apr/20 20:00
Start Date: 06/Apr/20 20:00
Worklog Time Spent: 10m
Work Description: pzampino commented on pull request #304: KNOX-2315 -
Fix zookeeper Kerberos Auth
URL: https://github.com/apache/knox/pull/304#discussion_r404351178
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/services/security/impl/ZookeeperRemoteAliasService.java
##########
@@ -127,9 +156,18 @@ private static void ensureEntry(final String path, final
RemoteConfigurationRegi
// content may not be trustworthy.
if (remoteClient.isAuthenticationConfigured()) {
LOG.correctingSuspectWritableRemoteConfigurationEntry(path);
-
// Replace the existing ACL with one that permits only
authenticated users
- remoteClient.setACL(path,
Collections.singletonList(AUTHENTICATED_USERS_ALL));
+ if (remoteClient.authenticationType()
Review comment:
Could authenticationType() return null?
----------------------------------------------------------------
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: 417073)
Time Spent: 1h (was: 50m)
> 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
> 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)