Bug 1390723 - External Authentication configuration fails after setting hostname in appliance console
Summary: External Authentication configuration fails after setting hostname in applian...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.7.0
Assignee: Joe Vlcek
QA Contact: amogh
URL:
Whiteboard: auth::externalauth
Depends On: 1360928
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-01 18:28 UTC by Satoe Imaishi
Modified: 2017-01-12 04:51 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1360928
Environment:
Last Closed: 2017-01-11 20:25:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Joe Vlcek 2016-11-03 18:35:55 UTC
Euwe Backport details:

$ git log -1
commit 693e9b8d21abf2625662e54aeba1a03923865df2
Author: Nick Carboni <ncarboni>
Date:   Mon Oct 31 17:21:13 2016 -0400

    Merge pull request #12171 from jvlcek/bz1360928_ext_auth_hostname

    Set hostname on both IPv6 and IPv4 loopback addrs
    (cherry picked from commit d00ab3e15116132e5b951ab466ef0963f2de2909)

    https://bugzilla.redhat.com/show_bug.cgi?id=1360928

Comment 3 amogh 2016-11-04 16:06:26 UTC
Verified this issue in 5.7.0.9-beta2.1.20161101182054_eb0afaa.

hostname is set correctly and external_auth configuration for IPA works fine after setting hostname in appliance_console.

Configure External Authentication (httpd)


IPA Server Parameters:

Enter the IPA Server Hostname: qetest.domain.com
Enter the IPA Server Domain: |qetest.domain.com| 
Enter the IPA Server Realm: |QETEST.DOMAIN.COM| 
Enter the IPA Server Principal: |admin| 
Enter the IPA Server Principal Password: ********

External Authentication (httpd) Configuration:
IPA Server Details:
  Hostname:       qetest.domain.com
  Domain:         qetest.domain.com
  Realm:          QETEST.DOMAIN.COM
  Naming Context: dc=qetest,dc=domain,dc=com
  Principal:      admin

Proceed? (Y/N): y
Checking connectivity to qetest.domain.com ... Succeeded.

Configuring IPA (may take a minute) ...
Configuring the IPA Client ...
Configuring pam ...
Configuring sssd ...
Configuring IPA HTTP Service and Keytab ...
Configuring httpd ...
Configuring SELinux ...

Restarting sssd and httpd ...
Configuring sssd to start upon reboots ...

External Authentication configured successfully.

Press any key to continue.


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