diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-28 17:00:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-28 17:00:21 +1000 |
commit | 1499a7b160f72d8dfa76d281cca52b4263b54ff0 (patch) | |
tree | c8dc71262f0326af69d000eebbcb28e8ecdfb751 /source4/librpc | |
parent | 0eb4ecc81a2fa1f37e09b60e750854d75ac425a0 (diff) | |
parent | 93d2f8ff9e627dd915b90b77161ce3ee5473fa32 (diff) | |
download | samba-1499a7b160f72d8dfa76d281cca52b4263b54ff0.tar.gz samba-1499a7b160f72d8dfa76d281cca52b4263b54ff0.tar.bz2 samba-1499a7b160f72d8dfa76d281cca52b4263b54ff0.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 7245e62f08e2bda96471318cac612b25697bc3e9)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/config.mk | 9 | ||||
-rw-r--r-- | source4/librpc/idl/ntp_signd.idl | 36 |
2 files changed, 44 insertions, 1 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index a39f50411b..fd628a2788 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 @@ -373,7 +380,7 @@ PUBLIC_DEPENDENCIES = \ NDR_NETLOGON NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \ NDR_ROT NDR_DRSBLOBS NDR_SVCCTL NDR_NBT NDR_WINSREPL NDR_SECURITY \ NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \ - NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_NFS4ACL + NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_NFS4ACL NDR_NTP_SIGND NDR_TABLE_OBJ_FILES = $(ndrsrcdir)/ndr_table.o $(gen_ndrsrcdir)/tables.o diff --git a/source4/librpc/idl/ntp_signd.idl b/source4/librpc/idl/ntp_signd.idl new file mode 100644 index 0000000000..af3f4337e2 --- /dev/null +++ b/source4/librpc/idl/ntp_signd.idl @@ -0,0 +1,36 @@ +/* + 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; + + void decode_sign_requst( + [in] sign_request request + ); + + +}
\ No newline at end of file |