summaryrefslogtreecommitdiffstats
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-29 11:16:03 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-29 11:16:03 +1000
commitce877cafdd24b51fafb8e21a06012e8e47dd4622 (patch)
treecca45cea162dd422fe1b6ece570285f8d90c810b /source4/librpc/idl
parent68ec3006a40152df3c73e6bf50378e0f21a891ab (diff)
downloadsamba-ce877cafdd24b51fafb8e21a06012e8e47dd4622.tar.gz
samba-ce877cafdd24b51fafb8e21a06012e8e47dd4622.tar.xz
samba-ce877cafdd24b51fafb8e21a06012e8e47dd4622.zip
Final fixes to for a functional NTP signing deamon.
Andrew Bartlett (This used to be commit 4dcc0cd06ef2f6c496e2112f6378088a1c27d2f2)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/ntp_signd.idl13
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/librpc/idl/ntp_signd.idl b/source4/librpc/idl/ntp_signd.idl
index 2863401389d..0e1112c1379 100644
--- a/source4/librpc/idl/ntp_signd.idl
+++ b/source4/librpc/idl/ntp_signd.idl
@@ -12,10 +12,17 @@
interface ntp_signd
{
+ typedef [v1_enum] enum {
+ SIGN_TO_CLIENT = 0,
+ ASK_SERVER_TO_SIGN = 1,
+ SIGNING_SUCCESS = 2,
+ SIGNING_FAILURE = 3
+ } 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 +30,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;