diff options
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/ntp_signd.idl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/librpc/idl/ntp_signd.idl b/source4/librpc/idl/ntp_signd.idl index 2b2fbc7662..b784205698 100644 --- a/source4/librpc/idl/ntp_signd.idl +++ b/source4/librpc/idl/ntp_signd.idl @@ -12,6 +12,8 @@ interface ntp_signd { + const int NTP_SIGND_PROTOCOL_VERSION_0 = 0; + typedef [v1_enum] enum { SIGN_TO_CLIENT = 0, ASK_SERVER_TO_SIGN = 1, @@ -21,7 +23,7 @@ interface ntp_signd } ntp_signd_op; typedef [flag(NDR_BIG_ENDIAN),public] struct { - uint32 version; + [value(NTP_SIGND_PROTOCOL_VERSION_0)] uint32 version; ntp_signd_op op; uint16 packet_id; [flag(NDR_LITTLE_ENDIAN)] uint32 key_id; @@ -30,7 +32,7 @@ interface ntp_signd } sign_request; typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out { - uint32 version; + [value(NTP_SIGND_PROTOCOL_VERSION_0)] uint32 version; ntp_signd_op op; uint32 packet_id; [flag(NDR_REMAINING)] DATA_BLOB signed_packet; |