summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-30 13:43:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:35:02 -0500
commitf3c121eb748b37a8b60d353d371bed9b79d0e37c (patch)
tree33b1e9cb9391fdde970ea98756e7d033d4308691
parent172089214ed7bc30440f876262943cd5c2faafe7 (diff)
downloadsamba-f3c121eb748b37a8b60d353d371bed9b79d0e37c.tar.gz
samba-f3c121eb748b37a8b60d353d371bed9b79d0e37c.tar.bz2
samba-f3c121eb748b37a8b60d353d371bed9b79d0e37c.zip
r9797: - let us parse replication packets with linked attributes fine,
- also resolve the 0x1f ('member') attid for nicer debugging metze (This used to be commit f6cf38d608d727e2065035604b537e07cb88ded9)
-rw-r--r--source4/librpc/idl/drsuapi.idl18
1 files changed, 16 insertions, 2 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index 89d55c1821..85254b3987 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -377,6 +377,7 @@ interface drsuapi
typedef [flag(NDR_PAHEX),v1_enum,public] enum {
DRSUAPI_ATTRIBUTE_objectClass = 0x00000000,
DRSUAPI_ATTRIBUTE_description = 0x0000000d,
+ DRSUAPI_ATTRIBUTE_member = 0x0000001f,
DRSUAPI_ATTRIBUTE_hasMasterNCs = 0x0002000e,
DRSUAPI_ATTRIBUTE_invocationId = 0x00020073,
DRSUAPI_ATTRIBUTE_dMDLocation = 0x00020024,
@@ -527,6 +528,7 @@ interface drsuapi
[case(0x0009037b)] drsuapi_DsAttributeValueCtrUnicodeString unicode_string;
/* DN String */
+ [case(DRSUAPI_ATTRIBUTE_member)] drsuapi_DsAttributeValueCtrDNString dn_string;
[case(DRSUAPI_ATTRIBUTE_objectCategory)] drsuapi_DsAttributeValueCtrDNString dn_string;
[case(0x0002000e)] drsuapi_DsAttributeValueCtrDNString dn_string;
[case(0x00020024)] drsuapi_DsAttributeValueCtrDNString dn_string;
@@ -612,6 +614,18 @@ interface drsuapi
} drsuapi_DsGetNCChangesCtr2;
typedef struct {
+ drsuapi_DsReplicaObjectIdentifier *dn;
+ drsuapi_DsAttributeId attid;
+ /* this dn_string, depends on the attid, maybe could be another
+ * attribute syntax
+ */
+ drsuapi_DsAttributeValueDNString dn_string;
+ uint32 u1;
+ NTTIME_1sec time1;
+ drsuapi_DsReplicaMetaData meta_data;
+ } drsuapi_DsReplicaLinkedAttribute;
+
+ typedef struct {
GUID guid1;
GUID guid2;
drsuapi_DsReplicaObjectIdentifier *naming_context;
@@ -626,8 +640,8 @@ interface drsuapi
uint32 unknown4;
uint32 unknown5;
uint32 unknown6;
- uint32 len1;
- uint32 array_ptr1;
+ [range(0,1048576)] uint32 linked_attributes_count;
+ [size_is(linked_attributes_count)] drsuapi_DsReplicaLinkedAttribute *linked_attributes;
uint32 unknown7;
} drsuapi_DsGetNCChangesCtr6;