You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ayub Khan (JIRA)" <ji...@apache.org> on 2016/05/23 11:12:13 UTC

[jira] [Created] (ATLAS-820) Kerberized env: Authentication failing

Ayub Khan created ATLAS-820:
-------------------------------

             Summary: Kerberized env: Authentication failing
                 Key: ATLAS-820
                 URL: https://issues.apache.org/jira/browse/ATLAS-820
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.7-incubating
            Reporter: Ayub Khan
            Priority: Blocker
             Fix For: 0.7-incubating


In a kerberized env, auth with valid credentials is failing.

{noformat}
[root@xaagents-ambari570-hdp463-r1-3 ~]# curl -v -k --negotiate -u admin:admin http://172.22.97.235:21000/api/atlas/admin/version
* About to connect() to 172.22.97.235 port 21000 (#0)
*   Trying 172.22.97.235... connected
* Connected to 172.22.97.235 (172.22.97.235) port 21000 (#0)
> GET /api/atlas/admin/version HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 172.22.97.235:21000
> Accept: */*
>
< HTTP/1.1 401 Full authentication is required to access this resource
< Date: Mon, 23 May 2016 11:07:49 GMT
< Set-Cookie: JSESSIONID=1w4fi7epqv2rc1i3yhkmwpc4ih;Path=/
< WWW-Authenticate: Basic realm="atlas.com"
< Content-Type: text/html; charset=ISO-8859-1
< Cache-Control: must-revalidate,no-cache,no-store
< Content-Length: 399
< Server: Jetty(9.2.12.v20150709)
<
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 401 Full authentication is required to access this resource</title>
</head>
<body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /api/atlas/admin/version. Reason:
<pre>    Full authentication is required to access this resource</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>
* Connection #0 to host 172.22.97.235 left intact
* Closing connection #0
[root@xaagents-ambari570-hdp463-r1-3 ~]#
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)