Bug #15286
closedMissing API for external auth sources
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
---|------|--------|------|------------
Added by Dominik Hlavac Duran about 7 years ago
Added by Michael Moll about 7 years ago
Refs #15286 - fix Layout/IndentationWidth cop
[ci skip]
Fixes #15286 - New API for auth sources (#4865)