We see several unsuccessful attempts for AFS service tickets on our KDC per
login, and are trying to reduce these. Our AFS tickets are of the form
"afs@REALM.COM" (i.e. no AFS cell as the instance).
The patch adds a new private option "nullafs" that tells pam_krb5 to not bother
looking for fully-instantiated tickets of the form afs/cell@REALM, and instead
use afs@REALM directly (otherwise it would fall back to these anyway).
Likewise, afs5log gets an option "-n" that does the same thing.
The attached patch is against 2.2.8-1 (since that is what we use currently), I
can reflow this gainst some different version if this increases the likelihood
of being applied.
Created attachment 149336 [details]
patch to add "nullafs" option, "-n" for afs5log
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
The effect that the patch has is already implemented by letting a cell name be
specified along with the principal name of the cell, but I can see it being
somewhat more convenient for the minimal-configuration cases where the module is
figuring out which cells to set tokens for.
Unfortunately this bugzilla was not resolved in time for RHEL 4.7 Beta.
It has now been proposed for inclusion in RHEL 4.8 but must regain Product
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.