From 93531a52f030cad7d4237d7813fa1d73d641b35a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 16 Jan 2010 12:03:01 +1100 Subject: s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context --- source4/dsdb/kcc/kcc_drs_replica_info.c | 4 ++-- source4/torture/rpc/dsgetinfo.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4') diff --git a/source4/dsdb/kcc/kcc_drs_replica_info.c b/source4/dsdb/kcc/kcc_drs_replica_info.c index 6d42ec6252..ef580b8275 100644 --- a/source4/dsdb/kcc/kcc_drs_replica_info.c +++ b/source4/dsdb/kcc/kcc_drs_replica_info.c @@ -382,13 +382,13 @@ NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg, } else { /* r->in.level == DRSUAPI_DS_REPLICA_GET_INFO2 */ req2 = &req->in.req->req2; - if (req2->unknown2 == 0xffffffff) { + if (req2->enumeration_context == 0xffffffff) { /* no more data is available */ status = WERR_NO_MORE_ITEMS; /* on MS-DRSR it is ERROR_NO_MORE_ITEMS */ goto DONE; } - base_index = req2->unknown2; /* Note: This is dwEnumerationContext on MS-DRSR 4.1.13.1.3 */ + base_index = req2->enumeration_context; info_type = req2->info_type; object_dn = req2->object_dn; req_src_dsa_guid = req2->guid1; diff --git a/source4/torture/rpc/dsgetinfo.c b/source4/torture/rpc/dsgetinfo.c index 7aad7a16d0..acad1a0916 100644 --- a/source4/torture/rpc/dsgetinfo.c +++ b/source4/torture/rpc/dsgetinfo.c @@ -267,10 +267,10 @@ static bool test_getinfo(struct torture_context *tctx, r.in.req->req2.info_type = array[i].infotype; r.in.req->req2.object_dn = object_dn; ZERO_STRUCT(r.in.req->req2.guid1); - r.in.req->req2.unknown1 = 0; + r.in.req->req2.flags = 0; r.in.req->req2.string1 = NULL; r.in.req->req2.string2 = NULL; - r.in.req->req2.unknown2 = 0; + r.in.req->req2.enumeration_context = 0; break; } -- cgit