RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 737048 - ipa-client-install calls authconfig with wrong parameters
Summary: ipa-client-install calls authconfig with wrong parameters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Alexander Bokovoy
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-09 13:12 UTC by Marko Myllynen
Modified: 2015-01-04 23:51 UTC (History)
7 users (show)

Fixed In Version: ipa-2.1.2-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: ipa-client-install always run /usr/sbin/authconfig to add "pam_krb5.so" entry to PAM configuration files in /etc/pam.d/. However, this entry is not needed when IPA client is installed with SSSD support, which is a default behavior Consequence: Unnecessary record is added to PAM configuration. This may be confusing for the user. Fix: Do not run /usr/sbin/authconfig if IPA client is configured with SSSD support Result: "pam_krb5.so" record is not added to PAM configuration during ipa-client-install when not needed
Clone Of:
Environment:
Last Closed: 2011-12-06 18:31:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FedoraHosted FreeIPA 1775 0 None None None Never
Red Hat Product Errata RHSA-2011:1533 0 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-06 01:23:31 UTC

Description Marko Myllynen 2011-09-09 13:12:51 UTC
Description of problem:
As discussed with SSSD developers ipa-client-install shouldn't use --enablekrb5 parameter with authconfig when using SSSD.

Version-Release number of selected component (if applicable):
IPA 2.1.1

Comment 1 Stephen Gallagher 2011-09-09 13:19:07 UTC
ipa-client-install is calling 'authconfig --enablekrb5 --update' during its execution, which is adding an unnecessary 'pam_krb5.so' entry to the assorted PAM configuration files in /etc/pam.d/

I'm not sure why this is believed to be necessary on an SSSD-enabled system, but it's most likely wrong.

Comment 3 Rob Crittenden 2011-09-09 13:28:06 UTC
Most likely? Bottom line it for me, remove it or not?

Comment 4 Alexander Bokovoy 2011-09-09 13:31:37 UTC
pam_krb5 should not be used with SSSD, so remove. I made a ticket for FreeIPA.

Comment 5 Alexander Bokovoy 2011-09-09 13:32:03 UTC
Assign to myself.

Comment 6 Stephen Gallagher 2011-09-09 13:33:20 UTC
Well, I said "most likely" because I wasn't sure if there was some other side-effect of this feature that we were counting on (like setting up krb5.conf or something). It warrants investigation.

Comment 7 Dmitri Pal 2011-09-09 20:32:55 UTC
https://fedorahosted.org/freeipa/ticket/1775

Comment 8 Martin Kosek 2011-10-05 11:40:06 UTC
Fixed upstream:
master: fb79c50b399fb2beb57001477e8e7579f2b251ba
ipa-2-1: 39a64a52728f3cf5437de6f1b4ca07d2860ed92f

Comment 11 Namita Soman 2011-10-18 14:12:28 UTC
When installing with sssd, install logs indicate:
/usr/sbin/authconfig --enablesssdauth --update --enablesssd
and does not add any 'pam_krb5.so' entry to the PAM configuration files in /etc/pam.d/

And with no-sssd, logs have:
/usr/sbin/authconfig --enablekrb5 --nostart --update
and adds 'pam_krb5.so' entry to the PAM configuration files in /etc/pam.d/


Verified using ipa-client-2.1.2-2.el6.x86_64

Comment 12 Martin Kosek 2011-11-01 12:21:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: ipa-client-install always run /usr/sbin/authconfig to add "pam_krb5.so" entry to PAM configuration files in /etc/pam.d/. However, this entry is not needed when IPA client is installed with SSSD support, which is a default behavior
Consequence: Unnecessary record is added to PAM configuration. This may be confusing for the user.
Fix: Do not run /usr/sbin/authconfig if IPA client is configured with SSSD support
Result: "pam_krb5.so" record is not added to PAM configuration during ipa-client-install when not needed

Comment 13 errata-xmlrpc 2011-12-06 18:31:09 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-2011-1533.html


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