Bug 231136 - [PATCH]: use 2b-style AFS tickets even if KerberosIV support is enabled
[PATCH]: use 2b-style AFS tickets even if KerberosIV support is enabled
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: pam_krb5 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
Depends On:
Blocks: 249559
  Show dependency treegraph
Reported: 2007-03-06 09:11 EST by Jan Iven
Modified: 2010-10-22 09:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-15 15:46:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
new option "prefer_2b" (2.45 KB, patch)
2007-03-06 09:11 EST, Jan Iven
no flags Details | Diff

  None (edit)
Description Jan Iven 2007-03-06 09:11:55 EST
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 "prefer_2b":

Even with Kerberos IV-support enabled, still try to use the 2b-style
service tickets based on KerberosV instead of using the
KerberosIV-based ones. 

This is the equivalent of giving "-5" to the afs5log command. The effect is to
reduce the number of failed attempts from 9 to 3 (different encoding types are
tried for realm-instance tickets, patch for that follows as well).

The patch is against 2.2.8, I can rework it against other versions if required.

Best regards
Comment 1 Jan Iven 2007-03-06 09:11:55 EST
Created attachment 149335 [details]
new option "prefer_2b"
Comment 2 RHEL Product and Program Management 2007-07-06 14:06:16 EDT
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
Comment 3 Nalin Dahyabhai 2008-02-15 15:46:53 EST
When rxk5 becomes available, we're going to have three different ways for
formatting tokens, and at that point I don't think boolean options are going to
provide enough flexibility to set the preferred order in which the various
methods should be tried.  I'm working this out in the development stream, but I
doubt it'll make sense to backport the result to pam_krb5's 2.1 branch. 
Deferring this -- the whole rxk5 thing'd have to be sorted out in RHEL 5 before
I'd feel confident about adding changing RHEL 4.

Note You need to log in before you can comment on or make changes to this bug.