Bug 1376654 - GSSPROXY / External user can't consume API
Summary: GSSPROXY / External user can't consume API
Keywords:
Status: CLOSED DUPLICATE of bug 1266407
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Users & Roles
Version: 6.2.0
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-16 05:22 UTC by Waldirio M Pinheiro
Modified: 2021-12-10 14:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-05 07:23:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Waldirio M Pinheiro 2016-09-16 05:22:35 UTC
Description of problem:
After do the "Active Directory Directly" configuration, according documentation [1], is not possible consume API using the this credential, although it's possible authenticate via webUI. I did test with user role and administrative role, still without permission to consume API.


[1]. https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/server-administration-guide/94-using-active-directory-directly

Version-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1. Configure authentication according [1]
2. Login with user account (<user login>@<domain>)
3. Via cli, run the command below
- curl -X GET -k -u <user login>@<domain> -H "Accept:application/json" https://<satellite server fqdn>/katello/api/organizations
4. Define administrative role to user
5. Redo the test via cli
- curl -X GET -k -u <user login>@<domain> -H "Accept:application/json" https://<satellite server fqdn>/katello/api/organizations

Actual results:
Enter host password for user '<user login>@<domain>':
{
  "error": {"message":"Unable to authenticate user <user login>@<domain>"}
}

Expected results:
Organization list

Additional info:

Comment 3 Evgeni Golov 2017-04-05 15:10:05 UTC
I wonder if this is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1266407? aka http://projects.theforeman.org/issues/11317

Comment 5 Ivan Necas 2018-04-05 07:23:06 UTC
I agree with Evgeni about the dupe with 1266407

*** This bug has been marked as a duplicate of bug 1266407 ***


Note You need to log in before you can comment on or make changes to this bug.