Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1800571

Summary: Multiples Kerberos ticket on RHEL 7.7 after lock and unlock screen
Product: Red Hat Enterprise Linux 7 Reporter: cilmar <cilmar>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: apeetham, atikhono, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sbose, sgoveas, srigler, thalman, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira2
Fixed In Version: sssd-1.16.5-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 19:50:00 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:

Comment 4 Sumit Bose 2020-05-15 08:39:35 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5160

Comment 5 Pavel Březina 2020-05-19 09:08:13 UTC
* `master`
    * 11435b1060675339263ce0a2a546cc44ab9bd576 - krb5: do not cache ccache or password during preauth
* `sssd-1-16`
    * 895aa34af41cc76aaac78c3cb74c68eeeb31a1d9 - krb5: do not cache ccache or password during preauth

Comment 9 Amith 2020-06-18 09:52:45 UTC
Verified the bug on SSSD Version: sssd-1.16.5-10.el7.x86_64

Steps followed during verification:
-----------------------------------------------------

1. Fresh installation of latest 7.9 OS Server with GUI.

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.9 Beta (Maipo)

# rpm -q sssd
sssd-1.16.5-10.el7.x86_64

2. Configure SSSD in system with ldap-krb provider. See the sample config file:

[sssd]
config_file_version = 2
domains = LDAP
services = nss, pam

[nss]
filter_groups = root
filter_users = root

[pam]

[domain/LDAP]
id_provider = ldap
debug_level = 0xFFF0
ldap_uri = ldap://hubcap.lab.eng.pnq.redhat.com
ldap_search_base = dc=example,dc=com

auth_provider = krb5
krb5_server = hubcap.lab.eng.pnq.redhat.com
krb5_realm = EXAMPLE.COM

3. Ensure krb5.conf file is set with defualt ccahe type ie, FILE:

4. Run getent and fetch the testuser to verify a working configuration.

# getent passwd -s sss testuser
testuser:*:21201:21201:testuser:/home/testuser:/bin/bash

5. Login to server via GUI.

6. Check the availability of credential file in /tmp directory.

# ls -l /tmp/krb*
-rw-------. 1 testuser 21201 542 Jun 18 15:10 /tmp/krb5cc_21201_keUqpr

7. Now, lock the user screen and wait for few minutes.

8. Login again and check the presence of multiple credential file in /tmp directory.

# ls -l /tmp/krb*
-rw-------. 1 testuser 21201 542 Jun 18 15:13 /tmp/krb5cc_21201_keUqpr

OBSERVATION : I DONT FIND ADDITIONAL CACHE FILES FOR testuser in /tmp DIR. Hence bug looks fixed.

Comment 11 errata-xmlrpc 2020-09-29 19:50:00 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 (sssd 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:3904