1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code

This commit is contained in:
Kamen Mazdrashki 2010-02-14 02:40:07 +02:00 committed by Anatoliy Atanasov
parent fb9880d6e8
commit 30ac3caade
3 changed files with 6 additions and 6 deletions

View File

@ -602,7 +602,7 @@ NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg,
base_index = 0;
info_type = req1->info_type;
object_dn_str = req1->object_dn;
req_src_dsa_guid = req1->guid1;
req_src_dsa_guid = req1->source_dsa_guid;
} else { /* r->in.level == DRSUAPI_DS_REPLICA_GET_INFO2 */
req2 = &req->in.req->req2;
@ -615,7 +615,7 @@ NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg,
base_index = req2->enumeration_context;
info_type = req2->info_type;
object_dn_str = req2->object_dn;
req_src_dsa_guid = req2->guid1;
req_src_dsa_guid = req2->source_dsa_guid;
}
/* allocate the reply and fill in some fields */

View File

@ -360,12 +360,12 @@ static bool test_DsReplicaGetInfo(struct torture_context *tctx,
case DRSUAPI_DS_REPLICA_GET_INFO:
r.in.req->req1.info_type = array[i].infotype;
r.in.req->req1.object_dn = object_dn;
ZERO_STRUCT(r.in.req->req1.guid1);
ZERO_STRUCT(r.in.req->req1.source_dsa_guid);
break;
case DRSUAPI_DS_REPLICA_GET_INFO2:
r.in.req->req2.info_type = array[i].infotype;
r.in.req->req2.object_dn = object_dn;
ZERO_STRUCT(r.in.req->req2.guid1);
ZERO_STRUCT(r.in.req->req2.source_dsa_guid);
r.in.req->req2.flags = 0;
r.in.req->req2.string1 = NULL;
r.in.req->req2.string2 = NULL;

View File

@ -262,12 +262,12 @@ static bool test_getinfo(struct torture_context *tctx,
case DRSUAPI_DS_REPLICA_GET_INFO:
r.in.req->req1.info_type = array[i].infotype;
r.in.req->req1.object_dn = object_dn;
ZERO_STRUCT(r.in.req->req1.guid1);
ZERO_STRUCT(r.in.req->req1.source_dsa_guid);
break;
case DRSUAPI_DS_REPLICA_GET_INFO2:
r.in.req->req2.info_type = array[i].infotype;
r.in.req->req2.object_dn = object_dn;
ZERO_STRUCT(r.in.req->req2.guid1);
ZERO_STRUCT(r.in.req->req2.source_dsa_guid);
r.in.req->req2.flags = 0;
r.in.req->req2.string1 = NULL;
r.in.req->req2.string2 = NULL;