atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bergenholtz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-820) Kerberized env: Authentication failing
Date Mon, 23 May 2016 12:45:14 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296323#comment-15296323
] 

Erik Bergenholtz commented on ATLAS-820:
----------------------------------------

[~ayubkhan] - did you kinit prior to curl cmd? If so value for -u is ignored (admin:admin).

> 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
>            Assignee: Nixon Rodrigues
>            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)

Mime
View raw message