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.
From the log, it looks like sshd is not creating these tickets (and not doing anything with kerberos). They seems to be created by something in pam based on the provided password. Could that be pam_sssd? This would require debug logs from pam_sssd.
But what i see in the log, the environment variables are set by pam and passed by sshd to the shell process correctly:
May 12 11:47:47 gn260002 sshd[3981]: debug3: Copy environment: KRB5CCNAME=FILE:/tmp/krb5cc_1471660683_BG82NP
May 12 11:47:47 gn260002 sshd[3982]: debug3: Copy environment: KRB5CCNAME=FILE:/tmp/krb5cc_1471660683_WO0MII
This reflect the paths visible in the client logs:
Ticket cache: FILE:/tmp/krb5cc_1471660683_BG82NP
klist: No credentials cache found (filename: /tmp/krb5cc_1471660683_WO0MII)
To me, it looks like an expected behavior.
Let's recap:
1st Section: the ticket cache is
[exampleuser@examle ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_123456_AqB9C8
2nd Section: the expected cache is not there
[exampleuser@examle ~]$ klist
klist: No credentials cache found (filename: FILE:/tmp/krb5cc_123456_212fazf)
Quote from sssd-krb5
~~~
krb5_ccname_template (string)
Location of the user's credential cache. Three credential cache types are currently supported: “FILE”, “DIR” and “KEYRING:persis. The cache can be
specified either as TYPE:RESIDUAL, or as an absolute path, which implies the “FILE” type. In the template, the following sequences are substituted:
...
If the template ends with 'XXXXXX' mkstemp(3) is used to create a unique filename in a safe way.
~~~
In other words, the cache file names are expected to random and unpredictable, even from other ssh session.
If you want to share the ccache amongst sessions, use either KEYRING, KCM, or predictable filename like
FILE:/tmp/krb5cc_%{uid}
That is also default value of default_ccache_name.