From d0bb8b8a15c76c739062e7a78c013b54729dc5ab Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 11 Jan 2012 16:13:37 +1100 Subject: [PATCH] s4-kdc: use IDL constant NETLOGON_GENERIC_KRB5_PAC_VALIDATE --- source4/kdc/kdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index 96791442374..e91b8a9b9fd 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -802,7 +802,7 @@ static NTSTATUS kdc_check_generic_kerberos(struct irpc_message *msg, return NT_STATUS_INVALID_PARAMETER; } - if (pac_validate.MessageType != 3) { + if (pac_validate.MessageType != NETLOGON_GENERIC_KRB5_PAC_VALIDATE) { /* We don't implement any other message types - such as certificate validation - yet */ return NT_STATUS_INVALID_PARAMETER; } -- 2.34.1