diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-16 12:03:01 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-16 14:10:44 +1100 |
commit | 93531a52f030cad7d4237d7813fa1d73d641b35a (patch) | |
tree | 1f8636ac43a7ada48741167d4be60b5c9b77216f /source4 | |
parent | c22973d88dbfb46e5c387ff03b7bb66bada7cac3 (diff) | |
download | samba-93531a52f030cad7d4237d7813fa1d73d641b35a.tar.gz samba-93531a52f030cad7d4237d7813fa1d73d641b35a.tar.bz2 samba-93531a52f030cad7d4237d7813fa1d73d641b35a.zip |
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/kcc/kcc_drs_replica_info.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/dsgetinfo.c | 4 |
2 files changed, 4 insertions, 4 deletions
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; } |