diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-11 16:13:37 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-12 17:54:15 +1100 |
commit | d0bb8b8a15c76c739062e7a78c013b54729dc5ab (patch) | |
tree | dece2e00024f2336ff0112ef9b7feba2fc84b015 | |
parent | 6764e4f20d30a7ed63b02290c718cd24008f3c00 (diff) | |
download | samba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.tar.gz samba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.tar.bz2 samba-d0bb8b8a15c76c739062e7a78c013b54729dc5ab.zip |
s4-kdc: use IDL constant NETLOGON_GENERIC_KRB5_PAC_VALIDATE
-rw-r--r-- | source4/kdc/kdc.c | 2 |
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; } |