diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-29 15:51:24 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-29 15:51:24 +0200 |
commit | b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160 (patch) | |
tree | 5201509b5f932788feeeee2ec6acface46581d34 /source4/librpc/idl/ntp_signd.idl | |
parent | 1e7dc5675280d567db1b6a243d48c5617dba5872 (diff) | |
parent | 617ef56aa3378c384026b72871af5a7253b8df33 (diff) | |
download | samba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.tar.gz samba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.tar.bz2 samba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
(This used to be commit 3947327f8c4ca530d99bc5ac3d1f6f54727f477a)
Diffstat (limited to 'source4/librpc/idl/ntp_signd.idl')
-rw-r--r-- | source4/librpc/idl/ntp_signd.idl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source4/librpc/idl/ntp_signd.idl b/source4/librpc/idl/ntp_signd.idl index 2863401389..2b2fbc7662 100644 --- a/source4/librpc/idl/ntp_signd.idl +++ b/source4/librpc/idl/ntp_signd.idl @@ -12,10 +12,18 @@ interface ntp_signd { + typedef [v1_enum] enum { + SIGN_TO_CLIENT = 0, + ASK_SERVER_TO_SIGN = 1, + CHECK_SERVER_SIGNATURE = 2, + SIGNING_SUCCESS = 3, + SIGNING_FAILURE = 4 + } ntp_signd_op; + typedef [flag(NDR_BIG_ENDIAN),public] struct { uint32 version; - uint32 op; - uint32 packet_id; + ntp_signd_op op; + uint16 packet_id; [flag(NDR_LITTLE_ENDIAN)] uint32 key_id; [flag(NDR_REMAINING)] DATA_BLOB packet_to_sign; @@ -23,7 +31,7 @@ interface ntp_signd typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out { uint32 version; - uint32 op; + ntp_signd_op op; uint32 packet_id; [flag(NDR_REMAINING)] DATA_BLOB signed_packet; } signed_reply; |