svn rev #21628: branches/mskrb-integ/src/kdc/
lhoward@MIT.EDU
lhoward at MIT.EDU
Mon Dec 29 08:54:50 EST 2008
http://src.mit.edu/fisheye/changelog/krb5/?cs=21628
Commit By: lhoward
Log Message:
don't return enc-pa-data if canon flag unset
Changed Files:
U branches/mskrb-integ/src/kdc/do_tgs_req.c
Modified: branches/mskrb-integ/src/kdc/do_tgs_req.c
===================================================================
--- branches/mskrb-integ/src/kdc/do_tgs_req.c 2008-12-29 13:37:20 UTC (rev 21627)
+++ branches/mskrb-integ/src/kdc/do_tgs_req.c 2008-12-29 13:54:47 UTC (rev 21628)
@@ -643,11 +643,13 @@
goto cleanup;
}
- errcode = return_svr_referral_data(kdc_context,
- &server, &reply_encpart);
- if (errcode) {
- status = "KDC_RETURN_ENC_PADATA";
- goto cleanup;
+ if (isflagset(s_flags, KRB5_KDB_FLAG_CANONICALIZE)) {
+ errcode = return_svr_referral_data(kdc_context,
+ &server, &reply_encpart);
+ if (errcode) {
+ status = "KDC_RETURN_ENC_PADATA";
+ goto cleanup;
+ }
}
enc_tkt_reply.session = &session_key;
More information about the cvs-krb5
mailing list