summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-11 16:13:37 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-12 17:54:15 +1100
commitd0bb8b8a15c76c739062e7a78c013b54729dc5ab (patch)
treedece2e00024f2336ff0112ef9b7feba2fc84b015 /source4/kdc
parent6764e4f20d30a7ed63b02290c718cd24008f3c00 (diff)
downloadsamba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.tar.gz
samba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.tar.bz2
samba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.zip
s4-kdc: use IDL constant NETLOGON_GENERIC_KRB5_PAC_VALIDATE
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index 9679144237..e91b8a9b9f 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;
}