Affects Version/s: 3.4.0
Fix Version/s: None
ZOOKEEPER-938 introduces server configuration options to perform a rudimentary mapping from Kerberos principal to user name:
Those are sufficient to make things work for HBase and other server clusters where we cannot include the host name portion into the znode ACL, but it would be better to support a more standard approach to perform the mapping with finer grained control (i.e. do this only for specific matching principals).
As an alternative, a matching option at the time of ACL check that can be controlled by the process assigning ACLs to znodes could also serve the purpose. For example, principals:
would have access to a znode with ACL set as:
This would not require ZK server configuration, but add more runtime overhead.