[ https://issues.apache.org/jira/browse/ATLAS-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-1752: ------------------------------------ Fix Version/s: (was: 0.8-incubating) 0.8.1-incubating > Atlas Group mapping for ranger doesn't work if using kerberos authentication > ---------------------------------------------------------------------------- > > Key: ATLAS-1752 > URL: https://issues.apache.org/jira/browse/ATLAS-1752 > Project: Atlas > Issue Type: Bug > Affects Versions: 0.8-incubating > Environment: secure > Reporter: Nixon Rodrigues > Assignee: Nixon Rodrigues > Fix For: 0.9-incubating, 0.8.1-incubating > > Attachments: ATLAS-1752.patch > > > {code} > [DI50253@devbir1en3l ~]$ curl --negotiate -u : -X GET > "http://devbir1on5l:21000/api/atlas/entities/7bb9c916-8fd3-40ef-b65f-855ed5bf4f9f" > > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> > <title>Error 403 {"AuthorizationError":"You are not authorized > for READ on [ENTITY] : *"}</title> > </head> > <body><h2>HTTP ERROR 403</h2> > <p>Problem accessing > /api/atlas/entities/7bb9c916-8fd3-40ef-b65f-855ed5bf4f9f. Reason: > <pre> {"AuthorizationError":"You are not authorized for READ > on [ENTITY] : *"}</pre></p><hr><i><small>Powered by > Jetty://</small></i><hr/> > </body> > </html> > I checked ID of the user and they belong to the group that is in ranger. > If he uses ldap authentication then it group mapping works > [DI50253@devbir1en3l ~]$ curl -u DI50253:xxxxxxxx -X GET > "http://devbir1on5l:21000/api/atlas/entities/7bb9c916-8fd3-40ef-b65f-855ed5bf4f9f" > > {"requestId":"qtp1641313620-23 - > \/api\/atlas\/entities\/7bb9c916-8fd3-40ef-b65f-855ed5bf4f9f - > 3f71704c-75e4-40dc-9796-4827e5997ea6","definition":{"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Reference","id":{"jsonClass":"org.apache.atlas.typesystem.json.InstanceSerialization$_Id","id":"7bb9c916-8fd3-40ef-b65f-855ed5bf4f9f","version":0,"typeName":"hive_db","state":"ACTIVE"},"typeName":"hive_db","values":{"name":"dz_1_disc","location":"hdfs:\/\/devbir1\/data\/discovery\/dz_1\/disc","description":null,"ownerType":{"value":"USER","ordinal":1},"qualifiedName":"dz_1_disc@devbir1","owner":"hive","clusterName":"devbir1","parameters":null},"traitNames":[],"traits":{}}} > > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)