summaryrefslogtreecommitdiff
path: root/source3/libads/kerberos_verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads/kerberos_verify.c')
-rw-r--r--source3/libads/kerberos_verify.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index d81a0a1629..f72c298399 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -78,12 +78,14 @@ static BOOL ads_keytab_verify_ticket(krb5_context context, krb5_auth_context aut
if (!(ret = krb5_rd_req(context, &auth_context, p_packet, NULL, NULL, NULL, pp_tkt))) {
krb5_free_unparsed_name(context, princ_name);
princ_name = NULL;
- DEBUG(10,("ads_keytab_verify_ticket: enc type [%u] decrypted message !\n",
+ unsigned int keytype;
#ifdef HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK
- (unsigned int) kt_entry.keyblock.keytype));
+ keytype = (unsigned int) kt_entry.keyblock.keytype;
#else
- (unsigned int) kt_entry.key.enctype));
+ keytype = (unsigned int) kt_entry.key.enctype;
#endif
+ DEBUG(10,("ads_keytab_verify_ticket: enc type [%u] decrypted message !\n",
+ keytype));
auth_ok = True;
break;
}