Current state: "Accepted"
Discussion thread: here
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
KIP-203 implemented support to convert Kerberos principal name to lower case Linux user name via auth_to_local rules.
As a follow-up, KafkaShortnamer can be further extended to allow converting principal names to uppercase by appending /U to the rule.
We propose to extend "sasl.kerberos.principal.to.local.rules" config rule format/syntax by supporting an optional "/U" (toUpperCase) at the end of the rule. Since usernames are locale insensitive strings, we propose to use Locale.ENGLISH for the case conversion
For example, given the rules
Compatibility, Deprecation, and Migration Plan
- This is an extension to the existing sasl.kerberos.principal.to.local.rules format and there will be no impact on existing users.