summaryrefslogtreecommitdiff
path: root/source4
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 12:15:37 +0200
commite81feb77a2c8f7e1af386d71a50e763f4232f73b (patch)
tree59b7ed269fa88763762f427f7dbf7ff341d0501b /source4
parent9827cf832f18d727e5343bf6748e3478b163cd54 (diff)
downloadsamba-e81feb77a2c8f7e1af386d71a50e763f4232f73b.tar.gz
samba-e81feb77a2c8f7e1af386d71a50e763f4232f73b.tar.bz2
samba-e81feb77a2c8f7e1af386d71a50e763f4232f73b.zip
drsuapi.idl: fix unknowns in drsuapi_DsReplicaObject*
metze (This used to be commit de2aed042d09ae7a31ddc4cd920c8fcf193ba06a)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/drsuapi.idl10
-rw-r--r--source4/librpc/ndr/ndr_drsuapi.c2
2 files changed, 9 insertions, 3 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index cba872fb3a..31c16f12ea 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -495,9 +495,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;
@@ -516,7 +522,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/source4/librpc/ndr/ndr_drsuapi.c b/source4/librpc/ndr/ndr_drsuapi.c
index 9f755ffaab..1b6be9ed8e 100644
--- a/source4/librpc/ndr/ndr_drsuapi.c
+++ b/source4/librpc/ndr/ndr_drsuapi.c
@@ -44,7 +44,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) {