Bug 238766 - authconfig creates invalid krb5.conf
authconfig creates invalid krb5.conf
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: authconfig (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
:
Depends On: 380551
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-02 16:27 EDT by Jack Neely
Modified: 2008-05-21 10:29 EDT (History)
0 users

See Also:
Fixed In Version: RHBA-2008-0375
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-21 10:29:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jack Neely 2007-05-02 16:27:41 EDT
Description of problem:
Its possible to get authconfig to create a non-working /etc/krb5.conf.  It
parses correctly, but doesn't give the desired behavior.

I'm trying to use the following:

/usr/sbin/authconfig --kickstart --useshadow --enablemd5 \
   --enableldap --ldapserver ldap.ncsu.edu \
   --ldapbasedn dc=ncsu,dc=edu \
   --enablecache \
   --enablekrb5 --enablekrb5kdcdns --krb5realm EOS.NCSU.EDU

Specifically, I'm trying to use my SRV records to provide clients with the
location of my KDCs.  The above always includes the following under the [realms]
section.

 EOS.NCSU.EDU = {
  kdc = kerberos.example.com:88
  admin_server = kerberos.example.com:749
 }

Therefore, the kerberos utilities try to use kerberos.example.com as the KDC
even with dns_lookup_kdc = true set in the config file.  Without this realm
section the kerberos configuration works as desired.

Errors I'm getting:
kinit(v5): Cannot resolve network address for KDC in requested realm while
getting initial credentials

Version-Release number of selected component (if applicable):
authconfig-5.3.12-2.el5
Comment 1 Tomas Mraz 2007-07-18 09:28:58 EDT
As a workaround you can use "--krb5kdc ' ' --krb5adminserver ' '" parameters.
Comment 2 Tomas Mraz 2007-09-25 11:36:46 EDT
Fixed in rawhide authconfig-5.3.18-1.fc8.
Comment 3 RHEL Product and Program Management 2007-10-31 14:25:32 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 7 Juha Tuomala 2008-02-05 08:11:05 EST
note that this entry has spelling error in topic autconfig - which probably 
causes problems for people in searches.
Comment 10 errata-xmlrpc 2008-05-21 10:29:32 EDT
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 the 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/RHBA-2008-0375.html

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