Bug 679082

Summary: SSSD IPA provider should honor the krb5_realm option
Product: Red Hat Enterprise Linux 6 Reporter: Rob Crittenden <rcritten>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: benl, dpal, grajaiya, jgalipea, nsoman, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.5.1-10.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 679087 (view as bug list) Environment:
Last Closed: 2011-05-19 11:38:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 679087    

Description Rob Crittenden 2011-02-21 14:31:54 UTC
Description of problem:

The kerberos domain is assumed to be the upper-case realm.

Comment 2 Stephen Gallagher 2011-02-22 14:56:17 UTC
Notes for QA: this bug is to ensure that if the krb5_realm is manually set for an 'id_provider = ipa' or 'auth_provider = ipa' domain, that the krb5_realm is used for all kerberos-related activities.

Comment 3 Stephen Gallagher 2011-02-22 14:58:15 UTC
This is relevant if ipa-client-install is run with the --realm command. We need to ensure that when krb5_realm is set in sssd.conf, it is honored everywhere.

Comment 5 Namita Soman 2011-04-07 18:22:32 UTC
Verified using:
sssd-1.5.5-0.20110405T0615z.el6.x86_64

installed ipa server as -
ipa-server-install --setup-dns --forwarder=10.14.63.12 -p Secret123 -P
Secret123 -a Secret123 -r QWQW

and verified sssd.conf, and default.conf have the right entries:
sssd.conf:
section for [domain/testrelm] includes:
krb5_realm = QWQW
ipa_domain = testrelm

section for [domain/default] includes:
krb5_realm = QWQW

default.conf includes:
basedn=dc=qwqw
realm=QWQW
domain=testrelm
xmlrpc_uri=https://rhel61-server5.testrelm/ipa/xml
ldap_uri=ldapi://%2fvar%2frun%2fslapd-QWQW.socket

also verified kinit 
# kinit admin
Password for admin@QWQW:

Comment 6 errata-xmlrpc 2011-05-19 11:38:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html

Comment 7 errata-xmlrpc 2011-05-19 13:09:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html