mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code
This commit is contained in:
parent
fb9880d6e8
commit
30ac3caade
@ -602,7 +602,7 @@ NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg,
|
|||||||
base_index = 0;
|
base_index = 0;
|
||||||
info_type = req1->info_type;
|
info_type = req1->info_type;
|
||||||
object_dn_str = req1->object_dn;
|
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 */
|
} else { /* r->in.level == DRSUAPI_DS_REPLICA_GET_INFO2 */
|
||||||
req2 = &req->in.req->req2;
|
req2 = &req->in.req->req2;
|
||||||
@ -615,7 +615,7 @@ NTSTATUS kccdrs_replica_get_info(struct irpc_message *msg,
|
|||||||
base_index = req2->enumeration_context;
|
base_index = req2->enumeration_context;
|
||||||
info_type = req2->info_type;
|
info_type = req2->info_type;
|
||||||
object_dn_str = req2->object_dn;
|
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 */
|
/* allocate the reply and fill in some fields */
|
||||||
|
@ -360,12 +360,12 @@ static bool test_DsReplicaGetInfo(struct torture_context *tctx,
|
|||||||
case DRSUAPI_DS_REPLICA_GET_INFO:
|
case DRSUAPI_DS_REPLICA_GET_INFO:
|
||||||
r.in.req->req1.info_type = array[i].infotype;
|
r.in.req->req1.info_type = array[i].infotype;
|
||||||
r.in.req->req1.object_dn = object_dn;
|
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;
|
break;
|
||||||
case DRSUAPI_DS_REPLICA_GET_INFO2:
|
case DRSUAPI_DS_REPLICA_GET_INFO2:
|
||||||
r.in.req->req2.info_type = array[i].infotype;
|
r.in.req->req2.info_type = array[i].infotype;
|
||||||
r.in.req->req2.object_dn = object_dn;
|
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.flags = 0;
|
||||||
r.in.req->req2.string1 = NULL;
|
r.in.req->req2.string1 = NULL;
|
||||||
r.in.req->req2.string2 = NULL;
|
r.in.req->req2.string2 = NULL;
|
||||||
|
@ -262,12 +262,12 @@ static bool test_getinfo(struct torture_context *tctx,
|
|||||||
case DRSUAPI_DS_REPLICA_GET_INFO:
|
case DRSUAPI_DS_REPLICA_GET_INFO:
|
||||||
r.in.req->req1.info_type = array[i].infotype;
|
r.in.req->req1.info_type = array[i].infotype;
|
||||||
r.in.req->req1.object_dn = object_dn;
|
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;
|
break;
|
||||||
case DRSUAPI_DS_REPLICA_GET_INFO2:
|
case DRSUAPI_DS_REPLICA_GET_INFO2:
|
||||||
r.in.req->req2.info_type = array[i].infotype;
|
r.in.req->req2.info_type = array[i].infotype;
|
||||||
r.in.req->req2.object_dn = object_dn;
|
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.flags = 0;
|
||||||
r.in.req->req2.string1 = NULL;
|
r.in.req->req2.string1 = NULL;
|
||||||
r.in.req->req2.string2 = NULL;
|
r.in.req->req2.string2 = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user