Bug 1448179
| Summary: | Hammer auth-source didn't list all sources | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Waldirio M Pinheiro <wpinheir> |
| Component: | Hammer | Assignee: | Dominik Hlavac Duran <dhlavacd> |
| Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.8 | CC: | bkearney, dhlavacd, mhulan, pa.van.der.sar, tstrachota, wpinheir |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-02 13:53:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Waldirio M Pinheiro
2017-05-04 17:30:54 UTC
Below one example // Query from hammer --- # hammer -p redhat auth-source ldap list ---|------|--------|------|--------------- ID | NAME | LDAPS? | PORT | SERVER TYPE ---|------|--------|------|--------------- 3 | w2k8 | | 389 | AuthSourceLdap ---|------|--------|------|--------------- # --- // Query from db --- $ psql -d foreman -c "select id,name,type from auth_sources;" id | name | type ----+----------+-------------------- 1 | Internal | AuthSourceInternal 2 | Hidden | AuthSourceHidden 3 | w2k8 | AuthSourceLdap (3 rows) $ --- Hello Waldirio. Could you please explain, why customer would want to see these? The hammer command reflects what's displayed in UI. AuthSourceHidden is obviously hidden from users and is used for internal purpose (it's used by internal anonymous admin user). AuthSourceInternal is auth source for users which password is stored in internal DB, there's nothing to configure for it, therefore it's also hidden. The only legitimate auth source type that should be displayed except for LDAP auth source is external auth source, which is only created when user configures it using the installer. It's normally used only if users want to use kerberos/IPA authentication. This is already tracked as BZ 1336236. Hi Marek, good afternoon I saw one ExternalSource and I asked customer what procedure / steps was used to create that one once he would like to see via hammer command. When customer send me the reply I'll update the BZ Thank you!! Upstream bug assigned to dhlavacd Upstream bug assigned to dhlavacd this is a duplicate of 1336236, closing on Satellite 6.4.0 snap9 # hammer auth-source list ---|-------------|-------------------- ID | NAME | TYPE OF AUTH SOURCE ---|-------------|-------------------- 1 | Internal | AuthSourceInternal 3 | win2012R2AD | AuthSourceLdap 5 | External | AuthSourceExternal ---|-------------|-------------------- *** This bug has been marked as a duplicate of bug 1336236 *** |