From f3c83dfb0199c8914f9c0ce53b045268b7e0e88f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 3 Jan 2007 11:42:28 +0000 Subject: [PATCH] r20506: - fix parsing of LinkedAttribute values - I also found the meaning of the time field - and the uint32 field metze --- source/librpc/idl/drsuapi.idl | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/source/librpc/idl/drsuapi.idl b/source/librpc/idl/drsuapi.idl index 104f00febda..03b8154bf03 100644 --- a/source/librpc/idl/drsuapi.idl +++ b/source/librpc/idl/drsuapi.idl @@ -516,11 +516,20 @@ interface drsuapi uint32 unknown4; } drsuapi_DsGetNCChangesCtr1; - typedef struct { + /* + * if the DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE flag + * isn't there it means the value is deleted + */ + typedef [public] bitmap { + DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE = 0x00000001 + } drsuapi_DsLinkedAttributeFlags; + + typedef [public] struct { drsuapi_DsReplicaObjectIdentifier *identifier; - drsuapi_DsReplicaAttribute attribute; - uint32 unknown1; - NTTIME_1sec time1; + drsuapi_DsAttributeId attid; + drsuapi_DsAttributeValue value; + drsuapi_DsLinkedAttributeFlags flags; + NTTIME_1sec orginating_add_time; drsuapi_DsReplicaMetaData meta_data; } drsuapi_DsReplicaLinkedAttribute; -- 2.11.4.GIT