Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0
Description
When processing the user-specified auth-to-local rules while automatically generating auth-to-local rule sets using org.apache.ambari.server.controller.AuthToLocalBuilder, some rules fail to render.
This occurs when escape characters are used in the replacement pattern or replacement string of the rule, where a role looks like:
RULE: [n:string](regexp)s/pattern/replacement/[g]
To fix this issue, the regular expression used to parse the rules need to be augmented to allow for those characters.
Attachments
Attachments
Issue Links
- links to