summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/ntp_signd.idl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-27 16:20:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-27 16:20:18 +1000
commit5d0d239d1ab826c91839a603f93d2c0061658888 (patch)
tree24301eca10faf83a94cb722e6c370943bdd9f5e3 /source4/librpc/idl/ntp_signd.idl
parent8172f3eb220575d40f9ab5129d36e4e0003dee56 (diff)
downloadsamba-5d0d239d1ab826c91839a603f93d2c0061658888.tar.gz
samba-5d0d239d1ab826c91839a603f93d2c0061658888.tar.bz2
samba-5d0d239d1ab826c91839a603f93d2c0061658888.zip
Start an 'NTP signing server' in Samba4.
I am modifying the ntp.org server to talk to this service, to sign packets per MS-SNTP. Andrew Bartlett (This used to be commit 0c15385e6068d2f70ff11aa5837adbd6d78410ae)
Diffstat (limited to 'source4/librpc/idl/ntp_signd.idl')
-rw-r--r--source4/librpc/idl/ntp_signd.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/source4/librpc/idl/ntp_signd.idl b/source4/librpc/idl/ntp_signd.idl
new file mode 100644
index 0000000000..d94a0a35d9
--- /dev/null
+++ b/source4/librpc/idl/ntp_signd.idl
@@ -0,0 +1,30 @@
+/*
+ NTP signing IRPC interface
+*/
+
+#include "idl_types.h"
+
+[
+ uuid("0da00951-5b6c-4488-9a89-750cac70920c"),
+ version(1.0),
+ pointer_default(unique)
+]
+interface ntp_signd
+{
+
+ typedef [flag(NDR_BIG_ENDIAN),public] struct {
+ uint32 version;
+ uint32 op;
+ uint32 packet_id;
+ [flag(NDR_LITTLE_ENDIAN)] uint32 key_id;
+ [flag(NDR_REMAINING)] DATA_BLOB packet_to_sign;
+
+ } sign_request;
+
+ typedef [flag(NDR_BIG_ENDIAN),public] struct samba_key_out {
+ uint32 version;
+ uint32 op;
+ uint32 packet_id;
+ [flag(NDR_REMAINING)] DATA_BLOB signed_packet;
+ } signed_reply;
+} \ No newline at end of file