diff options
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/config.mk | 7 | ||||
-rw-r--r-- | source4/librpc/idl/ntp_signd.idl | 30 |
2 files changed, 37 insertions, 0 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index a39f50411b..a83308d66b 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -338,6 +338,13 @@ NDR_NBT_OBJ_FILES = $(gen_ndrsrcdir)/ndr_nbt.o PUBLIC_HEADERS += $(gen_ndrsrcdir)/nbt.h +[SUBSYSTEM::NDR_NTP_SIGND] +PUBLIC_DEPENDENCIES = LIBNDR + +NDR_NTP_SIGND_OBJ_FILES = $(gen_ndrsrcdir)/ndr_ntp_signd.o + +PUBLIC_HEADERS += $(gen_ndrsrcdir)/ndr_ntp_signd.h + [SUBSYSTEM::NDR_WINSREPL] PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT 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 |