4 uuid("38578646-4566-4564-2244-275796345667"),
6 pointer_default(unique),
7 helpstring("Active Directory Replication LDAP Blobs")
11 * replPropertyMetaData
18 NTTIME_1sec orginating_time;
19 GUID orginating_dsa; /* the 'invocationId' ? */
22 } replPropertyMetaData1;
27 replPropertyMetaData1 array[count];
28 } replPropertyMetaDataCtr1;
30 typedef [nodiscriminant] union {
31 [case(1)] replPropertyMetaDataCtr1 ctr1;
32 } replPropertyMetaDataCtr;
34 typedef [public] struct {
37 [switch_is(version)] replPropertyMetaDataCtr ctr;
38 } replPropertyMetaDataBlob;
40 void decode_replPropertyMetaData(
41 [in] replPropertyMetaDataBlob blob
50 GUID invocation_id_guid; /* the 'invocationId' field of the CN=NTDS Settings object */
51 hyper highest_usn; /* updated after a full replication cycle */
52 } replUpToDateVector1;
57 replUpToDateVector1 array[count];
58 } replUpToDateVectorCtr1;
61 GUID invocation_id_guid; /* the 'invocationId' field of the CN=NTDS Settings object */
62 hyper highest_usn; /* updated after a full replication cycle */
63 NTTIME_1sec last_success;
64 } replUpToDateVector2;
69 replUpToDateVector2 array[count];
70 } replUpToDateVectorCtr2;
72 typedef [nodiscriminant] union {
73 [case(1)] replUpToDateVectorCtr1 ctr1;
74 [case(2)] replUpToDateVectorCtr2 ctr2;
75 } replUpToDateVectorCtr;
77 typedef [public] struct {
80 [switch_is(version)] replUpToDateVectorCtr ctr;
81 } replUpToDateVectorBlob;
83 void decode_replUpToDateVector(
84 [in] replUpToDateVectorBlob blob
92 typedef [gensize] struct {
94 } repsFromTo1OtherInfo;
96 typedef [gensize,flag(NDR_PAHEX)] struct {
97 /* this includes the 8 bytes of the repsFromToBlob header */
98 [value(ndr_size_repsFromTo1(r, ndr->flags)+8)] uint32 blobsize;
99 uint32 consecutive_sync_failures;
100 NTTIME_1sec last_success;
101 NTTIME_1sec last_attempt;
102 WERROR result_last_attempt;
103 [relative,length_is(other_info_length)] repsFromTo1OtherInfo *other_info;
104 [value(ndr_size_repsFromTo1OtherInfo(r->other_info, ndr->flags))] uint32 other_info_length;
105 uint32 replica_flags;
108 hyper tmp_highest_usn; /* updated after each object update */
110 hyper highest_usn; /* updated after a full replication cycle */
111 GUID source_dsa_obj_guid; /* the 'objectGuid' field of the CN=NTDS Settings object */
112 GUID source_dsa_invocation_id; /* the 'invocationId' field of the CN=NTDS Settings object */
116 typedef [nodiscriminant] union {
117 [case(1)] repsFromTo1 ctr1;
120 typedef [public] struct {
123 [switch_is(version)] repsFromTo ctr;
126 void decode_repsFromTo(
127 [in] repsFromToBlob blob