summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-15 15:35:47 +0200
committerStefan Metzmacher <metze@samba.org>2008-07-16 15:12:19 +0200
commitdea1c7ae1671b4fa945aabc21247f88e6429afc7 (patch)
treef143f9e01bc961d780c13bba8e4bcc5ffe9dc2c2 /source3/librpc
parent1df8557109807beb4b748f70d099ac394be8aded (diff)
downloadsamba-dea1c7ae1671b4fa945aabc21247f88e6429afc7.tar.gz
samba-dea1c7ae1671b4fa945aabc21247f88e6429afc7.tar.bz2
samba-dea1c7ae1671b4fa945aabc21247f88e6429afc7.zip
drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze (cherry picked from commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a) (This used to be commit 7488eda7a33f5ebe58a1c1217b7ac7e17e67946d)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/drsuapi.idl10
-rw-r--r--source3/librpc/ndr/ndr_drsuapi.c2
2 files changed, 9 insertions, 3 deletions
diff --git a/source3/librpc/idl/drsuapi.idl b/source3/librpc/idl/drsuapi.idl
index 59d835faf2..086db06c38 100644
--- a/source3/librpc/idl/drsuapi.idl
+++ b/source3/librpc/idl/drsuapi.idl
@@ -507,9 +507,15 @@ interface drsuapi
[size_is(num_attributes)] drsuapi_DsReplicaAttribute *attributes;
} drsuapi_DsReplicaAttributeCtr;
+ typedef [public] bitmap {
+ DRSUAPI_DS_REPLICA_OBJECT_FROM_MASTER = 0x00000001,
+ DRSUAPI_DS_REPLICA_OBJECT_DYNAMIC = 0x00000002,
+ DRSUAPI_DS_REPLICA_OBJECT_REMOTE_MODIFY = 0x00010000
+ } drsuapi_DsReplicaObjectFlags;
+
typedef [public] struct {
drsuapi_DsReplicaObjectIdentifier *identifier;
- uint32 unknown1;
+ drsuapi_DsReplicaObjectFlags flags;
drsuapi_DsReplicaAttributeCtr attribute_ctr;
} drsuapi_DsReplicaObject;
@@ -528,7 +534,7 @@ interface drsuapi
typedef [public,noprint] struct {
drsuapi_DsReplicaObjectListItemEx *next_object;
drsuapi_DsReplicaObject object;
- uint32 unknown1;
+ boolean32 is_nc_prefix;
GUID *parent_object_guid;
drsuapi_DsReplicaMetaDataCtr *meta_data_ctr;
} drsuapi_DsReplicaObjectListItemEx;
diff --git a/source3/librpc/ndr/ndr_drsuapi.c b/source3/librpc/ndr/ndr_drsuapi.c
index 8cd42b2cc1..aeb81c87bd 100644
--- a/source3/librpc/ndr/ndr_drsuapi.c
+++ b/source3/librpc/ndr/ndr_drsuapi.c
@@ -43,7 +43,7 @@ void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const ch
ndr->depth++;
ndr_print_ptr(ndr, "next_object", r->next_object);
ndr_print_drsuapi_DsReplicaObject(ndr, "object", &r->object);
- ndr_print_uint32(ndr, "unknown1", r->unknown1);
+ ndr_print_uint32(ndr, "is_nc_prefix", r->is_nc_prefix);
ndr_print_ptr(ndr, "parent_object_guid", r->parent_object_guid);
ndr->depth++;
if (r->parent_object_guid) {