Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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
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: 2024-03-25 14:57 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:
Embargoed:


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.