Bug 771702
Summary: | sssd_pam crashes during change password operation against a IPA server. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Gowrishankar Rajaiyan <grajaiya> |
Component: | sssd | Assignee: | Stephen Gallagher <sgallagh> |
Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2 | CC: | grajaiya, jgalipea, jhrozek, ksiddiqu, prc |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | sssd-1.8.0-2.el6.beta2 | Doc Type: | Bug Fix |
Doc Text: |
Cause: In cases the SSSD was operating on offline mode and Kerberos password was requested with a configuration that also uses the KDC server for changing passwords, the SSSD was issuing the password change requests in an infinite loop
Consequence: The sssd_be process was looping infinitely and occasionally even crashing
Fix: The sssd_be process was fixed to not call the password changing request when offline
Result: When a password change operation is requested while the SSSD is offline, the operations exits gracefully.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 11:51:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gowrishankar Rajaiyan
2012-01-04 17:03:08 UTC
I admit I haven't reproduced the crash but I saw a bug here - in the case Shanks tested, the ipa_kpasswd process returned that KDC was down. Because SSSD tried to create an expired TGT even when offline, it called the child agan, the child failed, sent sssd offline, sssd called the child again..etc. Upstream ticket: https://fedorahosted.org/sssd/ticket/1131 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: In cases the SSSD was operating on offline mode and Kerberos password was requested with a configuration that also uses the KDC server for changing passwords, the SSSD was issuing the password change requests in an infinite loop Consequence: The sssd_be process was looping infinitely and occasionally even crashing Fix: The sssd_be process was fixed to not call the password changing request when offline Result: When a password change operation is requested while the SSSD is offline, the operations exits gracefully. Verified. Now following message is displayed when sssd is working in offline mode and password change is requested. "System is offline, password change not possible" sssd-version: ============= [root@ipa63server ~]# rpm -q sssd sssd-1.8.0-25.el6.x86_64 [root@ipa63server ~]# console output: =============== [root@ipa63client2 ~]# ssh -l tuser1 ipa63server.testrelm.com tuser1.com's password: Last login: Mon May 7 18:24:45 2012 from ipa63client2.testrelm.com -sh-4.1$ passwd Changing password for user tuser1. Current Password: System is offline, password change not possible passwd: Authentication token manipulation error -sh-4.1$ 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/RHBA-2012-0747.html |