From 50ef3b7e58d3d5e5b912b39ab2448a0a468f80af Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Fri, 20 Feb 2009 18:24:18 +0000 Subject: [PATCH] Adjust to the return value of isflagset routine git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22041 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/do_tgs_req.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index b7eaf2f8f..e363782ec 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -1085,8 +1085,7 @@ prep_reprocess_req(krb5_kdc_req *request, krb5_principal *krbtgt_princ) * If all of these conditions are satisfied - try mapping the FQDN and * re-process the request as if client had asked for cross-realm TGT. */ - - if (isflagset(request->kdc_options, KDC_OPT_CANONICALIZE) == TRUE && + if (isflagset(request->kdc_options, KDC_OPT_CANONICALIZE) && !isflagset(request->kdc_options, KDC_OPT_ENC_TKT_IN_SKEY) && krb5_princ_size(kdc_context, request->server) == 2) { -- 2.26.2