Bug 805203

Summary: set ipa_hostname for sssd.conf
Product: Red Hat Enterprise Linux 6 Reporter: Dmitri Pal <dpal>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.3CC: jgalipea, mkosek, spoore
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.0.0-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:10:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dmitri Pal 2012-03-20 16:35:03 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2527

In order to protect the client from getting into weird state after the hostname getting changed in some ways (fqdn->short for instance), ipa-client-install should set ipa_hostname option for sssd.conf even without the --hostname option.

Comment 1 Martin Kosek 2012-05-28 15:10:58 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/bdc80fe372fa937a0cf4a411f550ae35caad3e42

Comment 5 Scott Poore 2012-11-26 22:01:49 UTC
Verified.

Version ::

ipa-client-3.0.0-8.el6.x86_64

[root@rhel6-3 ~]# ipa-client-install -U --domain=$DOMAIN --realm=$RELM -p $ADMINID -w $ADMINPW --server=$MASTER_S.$DOMAIN
Hostname: rhel6-3.testrelm.com
Realm: TESTRELM.COM
DNS Domain: testrelm.com
IPA Server: rhel6-1.testrelm.com
BaseDN: dc=testrelm,dc=com

Synchronizing time with KDC...
Enrolled in IPA realm TESTRELM.COM
Created /etc/ipa/default.conf
New SSSD config will be created
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TESTRELM.COM
trying https://rhel6-1.testrelm.com/ipa/xml
Hostname (rhel6-3.testrelm.com) not found in DNS
DNS server record set to: rhel6-3.testrelm.com -> 192.168.122.63
Adding SSH public key from /etc/ssh/ssh_host_dsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Forwarding 'host_mod' to server u'http://rhel6-1.testrelm.com/ipa/xml'
SSSD enabled
Configured /etc/openldap/ldap.conf
Unable to find 'admin' user with 'getent passwd admin'!
Recognized configuration: SSSD
NTP enabled
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Client configuration complete.

[root@rhel6-3 ~]# grep ipa_hostname /etc/sssd/sssd.conf 
ipa_hostname = rhel6-3.testrelm.com

Comment 7 errata-xmlrpc 2013-02-21 09:10:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0528.html