pull up r18879 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 30 Nov 2006 21:14:43 +0000 (21:14 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 30 Nov 2006 21:14:43 +0000 (21:14 +0000)
commit916c53b53c9683e8f789fe940609060a8ef48b8a
tree5f83ecd41808a816b3ced555a90fd17d0724f764
parent3b457b1ec94ac197248c78cb70463f5fe28cffd2
pull up r18879 from trunk

 r18879@cathode-dark-space:  tlyu | 2006-11-30 15:50:02 -0500
 ticket: 3322
 target_version: 1.6
 tags: pullup

  * src/lib/krb5/krb/gc_via_tkt.c (check_reply_server): New function
  to check server principal in reply.  Ensures that the reply is
  self-consistent, allows rewrites if canonicalization is requested,
  and allows limited rewrites of TGS principals if canonicalization
  is not requested.
  (krb5_get_cred_via_tkt): Move server principal checks into
  check_reply_server().

ticket: 3322
version_fixed: 1.6

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@18881 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/gc_via_tkt.c