Bug 1820311

Summary: Password expiry notifications to AD clients no longer work due to regression from fix for bug 1385665
Product: Red Hat Enterprise Linux 8 Reporter: Robbie Harwood <rharwood>
Component: krb5Assignee: Robbie Harwood <rharwood>
Status: CLOSED ERRATA QA Contact: Filip Dvorak <fdvorak>
Severity: medium Docs Contact: Josip Vilicic <jvilicic>
Priority: unspecified    
Version: 8.3CC: dpal, fdvorak, fhanzelk, grajaiya, jhrozek, jvilicic, lslebodn, mark.crossland, mzidek, pasik, pbrezina, pod.pavel, rharwood, sbose, tscherf, xzhou
Target Milestone: rcKeywords: TestCaseProvided
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/krb5/krb5/pull/1056
Whiteboard:
Fixed In Version: krb5-1.18.2-2.el8 Doc Type: Bug Fix
Doc Text:
.Password expiration notifications sent to AD clients using SSSD Previously, Active Directory clients (non-IdM) using SSSD were not sent password expiration notices because of a recent change in the SSSD interface for acquiring Kerberos credentials. The Kerberos interface has been updated and expiration notices are now sent correctly.
Story Points: ---
Clone Of: 1733289 Environment:
Last Closed: 2020-11-04 01:59:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1733289, 1805628    
Bug Blocks:    

Description Robbie Harwood 2020-04-02 18:10:09 UTC
+++ This bug was initially created as a clone of Bug #1733289 +++

Description of problem:
Password expiry notifications to AD clients with SSSD no longer work due to regression from fix for bug 1385665.

Version-Release number of selected component (if applicable):
sssd-client-1.16.0-19.el7_5.8.x86_64


How reproducible:
Always

Steps to Reproduce:
1) Configure sssd to use auth_provider=krb5 or ad.
2) Configure short password expiry for user in AD. 

Actual results:
No expiry message is sent to any client e.g. gnome, ssh etc. 

Expected results:
Expiry message should be seen.

--- Additional comment from Sumit Bose on 2020-03-24 10:55:52 EDT ---

Hi,

I created https://github.com/krb5/krb5/pull/1056 and as suggested by Robbie in comment #6 I move this ticket to krb5. If the pull-request is not accepted please move the ticket back to SSSD so that we can think about alternative solutions.

bye,
Sumit

Comment 7 Sumit Bose 2020-06-09 05:30:14 UTC
*** Bug 1805628 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2020-11-04 01:59:24 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 (krb5 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4541