Add NTDSConnection schedule attr blob
authorDave Craft <wimberosa@gmail.com>
Sun, 4 Dec 2011 17:00:31 +0000 (11:00 -0600)
committerAndrew Tridgell <tridge@samba.org>
Thu, 8 Dec 2011 00:48:17 +0000 (11:48 +1100)
Add schedule blob to drsblobs to allow
NDR unpacking into a python class.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
librpc/idl/drsblobs.idl

index 064f6ea94b403dab8ad7b62f6c28f932b3329365..1960716af91c368bdd0beb8fc8b4cd7a3705825a 100644 (file)
@@ -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