svn rev #18878: trunk/src/lib/krb5/krb/
tlyu@MIT.EDU
tlyu at MIT.EDU
Thu Nov 30 15:46:33 EST 2006
Commit By: tlyu
Log Message:
ticket: 4955
tags: pullup
* src/lib/krb5/krb/gc_frm_kdc.c: Also do style cleanup.
(krb5_get_cred_from_kdc_opt): If server principal was rewritten,
fall back unless it was rewritten to a TGS principal. This fixes
a bug when a MS AD rewrites the service principal into a
single-component NETBIOS-style name. If we get a referral back to
the immediately preceding realm, fall back to non-referral
handling. This fixes the changepw failure. To prevent memory
leaks, when falling back to non-referral handling, free any tgts
previously obtained by the initial non-referral do_traversal()
call.
Changed Files:
U trunk/src/lib/krb5/krb/gc_frm_kdc.c
More information about the cvs-krb5
mailing list