THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
extend "sasl.kerberos.principal.to.local.rules" config rule format by supporting "/L" (toLowerCase) at the end of the rule. However, it must be noted that this does not affect how pattern matches on input and therefore that will still be case-sensitive.
Code Block |
---|
"RULE:[12:$1@$0](joe-qa-.*@EXAMPLE.COM)s/.*/JOE-QA//L", "RULE:[12:$1@$0](JOE-QA-.*@EXAMPLE.COM)s/.*/JOE-QA-UPPER//L", "RULE:[12:$1@$0](.*@EXAMPLE.COM)s/@.*///L" |
Code Block |
---|
If the source string is joe-qa-cl1@EXAMPLEcl1/host@EXAMPLE.COM, the result is joe-qa If the source string is JOE-QA-cl1@EXAMPLEcl1/host@EXAMPLE.COM, the result is joe-qa-upper If the source string is joe_user@EXAMPLEuser/host@EXAMPLE.COM, the result is joe_user If the source string is JOE_USER@EXAMPLEUSER/host@EXAMPLE.COM, the result is joe_use |
...