Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 805203 - set ipa_hostname for sssd.conf
set ipa_hostname for sssd.conf
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.3
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Rob Crittenden
Namita Soman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-20 12:35 EDT by Dmitri Pal
Modified: 2013-06-20 13:25 EDT (History)
3 users (show)

See Also:
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 04:10:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0528 normal SHIPPED_LIVE Low: ipa security, bug fix and enhancement update 2013-02-21 03:22:21 EST

  None (edit)
Description Dmitri Pal 2012-03-20 12:35:03 EDT
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 11:10:58 EDT
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/bdc80fe372fa937a0cf4a411f550ae35caad3e42
Comment 5 Scott Poore 2012-11-26 17:01:49 EST
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 04:10:26 EST
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.