Bug 805203 - set ipa_hostname for sssd.conf
Summary: set ipa_hostname for sssd.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-20 16:35 UTC by Dmitri Pal
Modified: 2013-06-20 17:25 UTC (History)
3 users (show)

Fixed In Version: ipa-3.0.0-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 09:10:26 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0528 0 normal SHIPPED_LIVE Low: ipa security, bug fix and enhancement update 2013-02-21 08:22:21 UTC

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


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