summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorDave Craft <wimberosa@gmail.com>2011-12-04 11:00:31 -0600
committerAndrew Tridgell <tridge@samba.org>2011-12-08 11:48:17 +1100
commitbc03cba552b512ef436ff7da3bd0820c6341d783 (patch)
tree6f8fbfab8dd8a28780c1f74e2394e26c5077cbc3 /librpc
parenta3613b05339ea305edfdc54a02ca65506f48c356 (diff)
downloadsamba-bc03cba552b512ef436ff7da3bd0820c6341d783.tar.gz
Add NTDSConnection schedule attr blob
Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/drsblobs.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl
index 064f6ea94b4..1960716af91 100644
--- a/librpc/idl/drsblobs.idl
+++ b/librpc/idl/drsblobs.idl
@@ -151,6 +151,26 @@ interface drsblobs {
[in] repsFromToBlob blob
);
+ /* Replication schedule structures as defined in MS-ADTS 7.1.4.5
+ * Appears as attribute of NTDSConnection object
+ */
+ typedef [public] struct {
+ [value(0)] uint32 type; /* always 0 */
+ uint32 offset;
+ } scheduleHeader;
+
+ typedef [public] struct {
+ uint8 slots[168];
+ } scheduleSlots;
+
+ typedef [public] struct {
+ uint32 size;
+ [value(0)] uint32 bandwidth; /* ignored */
+ [value(1)] uint32 numberOfSchedules; /* always 1 */
+ scheduleHeader headerArray[numberOfSchedules];
+ scheduleSlots dataArray[numberOfSchedules];
+ } schedule;
+
/*
* partialAttributeSet
* w2k uses version 1