Support Questions

Find answers, ask questions, and share your expertise

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/