Project

General

Profile

Actions

Bug #15286

closed

Missing API for external auth sources

Added by Bryan Kearney almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1336236
Description of problem:
hammer user-group external create requires auth_source_id which is not available when configuring IPA/IdM integration with
katello-installer --foreman-ipa-authentication=true

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

How reproducible:
Always

Steps to Reproduce:
1. ipa-client-install
2. katello-installer --foreman-ipa-authentication=true
3. hammer user-group create --name=dummy --role-ids=1,2,3,4
User group [dummy] created
4. hammer user-group external create --name=dummy --user-group=dummy

Actual results:

Could not create external user group:
Missing arguments for 'auth_source_id'

--- No value of auth_source_id works

Expected results:

External group [dummy] created

Additional info:

[root@sat6 /]# hammer auth-source ldap list
---|------|--------|------|------------
ID | NAME | LDAPS? | PORT | SERVER TYPE
---|------|--------|------|------------


Related issues 5 (0 open5 closed)

Related to Foreman - Bug #19064: External group mapping cannot be set when --foreman-ipa-authentication=true is used and no EXTERNAL user has been created yetClosedMarek Hulán03/29/2017Actions
Has duplicate Foreman - Feature #18584: Api for listing all auth sourcesDuplicateDominik Hlavac Duran02/21/2017Actions
Blocks Hammer CLI - Feature #4356: Improve ways of passing auth source when creating a userDuplicateDominik Hlavac Duran02/17/2014Actions
Blocks Hammer CLI - Feature #18805: Creating external user-group does not have any option --auth-source as a input parameter.DuplicateDominik Hlavac Duran03/06/2017Actions
Blocks Hammer CLI - Feature #19651: Command for listing all auth sourcesClosedDominik Hlavac Duran05/24/2017Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Category set to Users, Roles and Permissions
  • Status changed from New to Feedback

requires auth_source_id which is not available when configuring IPA/IdM integration [..]

An auth source is created when configuring authorize_login_delegation_auth_source_user_autocreate and a user logs in with the external mechanism. The auth source can then be used to create external user groups.

Actions #2

Updated by Marek Hulán over 7 years ago

  • Status changed from Feedback to New
  • Target version set to 115

We should probably seed the external auth source, so the very first login attempt could already have some mapped external user groups. I hope that's acceptable fix, so reopening.

Actions #3

Updated by Marek Hulán about 7 years ago

  • Related to Bug #19064: External group mapping cannot be set when --foreman-ipa-authentication=true is used and no EXTERNAL user has been created yet added
Actions #4

Updated by Marek Hulán about 7 years ago

  • Status changed from New to Duplicate

Closing as a duplicate since after the external auth source is seeded (#19064) the hammer command works just fine.

Actions #5

Updated by Marek Hulán about 7 years ago

  • Subject changed from hammer can't create external groups based on IPA/IdM integration to Missing API for external auth sources
  • Status changed from Duplicate to New

Oh no, that's actually not a duplicate, the problem reported here is that hammer can't list external auth source so user can't find out the id to use, I'll change the subject so it's more clear. And of course hammer needs API, our API only provides access to LDAP auth sources. So reopening.

Actions #6

Updated by Dominic Cleal about 7 years ago

  • Category changed from Users, Roles and Permissions to API
Actions #7

Updated by Joseph Magen almost 7 years ago

  • Assignee set to Joseph Magen
Actions #8

Updated by Marek Hulán almost 7 years ago

  • Target version changed from 115 to 1.13.4
Actions #9

Updated by Marek Hulán almost 7 years ago

  • Target version changed from 1.13.4 to 1.14.0
Actions #10

Updated by Marek Hulán almost 7 years ago

  • Target version changed from 1.14.0 to 1.14.3
Actions #11

Updated by Daniel Lobato Garcia almost 7 years ago

  • Has duplicate Feature #18584: Api for listing all auth sources added
Actions #12

Updated by Dominik Hlavac Duran almost 7 years ago

  • Blocks Feature #4356: Improve ways of passing auth source when creating a user added
Actions #13

Updated by Dominik Hlavac Duran almost 7 years ago

  • Blocks Feature #18805: Creating external user-group does not have any option --auth-source as a input parameter. added
Actions #14

Updated by Dominik Hlavac Duran almost 7 years ago

Actions #15

Updated by Dominik Hlavac Duran almost 7 years ago

  • Status changed from New to Assigned
  • Assignee changed from Joseph Magen to Dominik Hlavac Duran
Actions #16

Updated by Marek Hulán almost 7 years ago

  • Target version changed from 1.14.3 to 1.17.0-RC2
Actions #17

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.17.0-RC2 to 1.18.0-RC2
Actions #18

Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4727 added
Actions #19

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.18.0-RC2 to 214
Actions #20

Updated by Marek Hulán over 6 years ago

  • Target version changed from 214 to 1.16.0-RC2
Actions #21

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4865 added
Actions #22

Updated by Dominik Hlavac Duran over 6 years ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/4727)
Actions #23

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.16.0-RC2 to 1.16.0-RC1
Actions #24

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.16.0-RC1 to 1.16.2
Actions #25

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.16.2 to 1.16.1
Actions #26

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.16.1 to 238
Actions #27

Updated by Marek Hulán about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #28

Updated by Tomer Brisker about 6 years ago

  • translation missing: en.field_release set to 330
  • Pull request https://github.com/theforeman/foreman/pull/5352 added
Actions

Also available in: Atom PDF