Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Let's see jhs as example:
RULE:[2:$1@$0](jhs/.*@.*REALM.TLD)s/.*/mapred/
That means principal has 2 components (jhs/myhost@REALM).
The second column converts this to jhs@REALM. So the regex will not match on this since regex expects / in the principal.
My suggestion is
RULE:[2:$1](jhs)s/.*/mapred/
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SecureMode.html
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-12570 HDFS Secure Mode Documentation updates
- Closed
- is duplicated by
-
HDFS-12849 Update the auth_to_local rules documentation in hadoop documentation
- Resolved
- is related to
-
HADOOP-14231 Using parentheses is not allowed in auth_to_local regex
- Patch Available