diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-08-30 12:14:00 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-09-03 21:38:32 -0400 |
commit | 8a9909ff9ef6b51c5ed09ead6713888fbb34072f (patch) | |
tree | b9490b200ce3f146f5ff4e263c38ddf79c39abff /src/tests/gssapi/t_gssapi.py | |
parent | 2f37634ae89f8bd13ec64120fce56ba5613c498c (diff) | |
download | krb5-8a9909ff9ef6b51c5ed09ead6713888fbb34072f.tar.gz krb5-8a9909ff9ef6b51c5ed09ead6713888fbb34072f.tar.xz krb5-8a9909ff9ef6b51c5ed09ead6713888fbb34072f.zip |
Explicitly prevent referrals for certain requests
For ticket modification requests (such as renewals), u2u requests, and
S4U2Self requests, the requested server principal is expected to match
a previously issued ticket. If that principal no longer exists, we
must fail the request; we cannot issue a referral. We are currently
doing that by rewriting request->server to the referral principal,
which causes the match against the ticket to fail. Since we would
like to stop modifying the request, we must explicitly prevent
referrals in these cases.
We don't find out whether a request is S4U2Self until after we've
looked up the server principal, so for now we have to make a
retroactive check for a referral after calling
kdc_process_s4u2self_req.
Diffstat (limited to 'src/tests/gssapi/t_gssapi.py')
0 files changed, 0 insertions, 0 deletions