Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Atlas kerberos Auth rules not working

avatar
Super Guru

Hi, I'm trying to implement auth rule in atlas by coping a rule from hdfs auth rules i.e RULE:[1:$1](4[0-9]{7,8})s/^4/d/

however this rule syntax doesn't seems to be working for atlas though same works for HDFS. Please help.

1 ACCEPTED SOLUTION

avatar
3 REPLIES 3

avatar

@Jitendra Yadav Can you check your rule regex is as per the rules syntax? Check here: https://community.hortonworks.com/articles/14463/auth-to-local-rules-syntax.html

avatar
Super Guru

Hi @Ayub Pathan I'm still not able to convert HDFS auth rule i.e RULE:[1:$1](4[0-9]{7,8})s/^4/d/ into atlas auth rule. Ideally same should work.

avatar
Super Guru

Thanks @Ayub Pathan for the help, it worked with below syntax as per your suggestion.

RULE:[1:$1](4[0-9]*)s/^4/d/