Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-820

Kerberized env: Authentication failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.7-incubating
    • 0.7-incubating
    • None
    • None

    Description

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

      [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 ~]#
      

      Attachments

        1. ATLAS-820.patch
          59 kB
          Nixon Rodrigues
        2. ATLAS-820.1.patch
          59 kB
          Nixon Rodrigues
        3. ATLAS-820-5.patch
          50 kB
          Nixon Rodrigues
        4. ATLAS-820.6.patch
          54 kB
          Nixon Rodrigues

        Issue Links

          Activity

            People

              nixon Nixon Rodrigues
              ayubpathan Ayub Pathan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: