From d875b7d620c1007f38fb886cb8d5342a2d261585 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 May 2007 23:38:46 +0000 Subject: r23129: Merge from 3_0: * netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags * the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags Guenther (This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b) --- source4/torture/rpc/netlogon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 7e8ef99bf6..967b615bc3 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -1224,7 +1224,7 @@ static BOOL test_netr_DsRGetDCName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.domain_name = talloc_asprintf(mem_ctx, "%s", lp_realm()); r.in.domain_guid = NULL; r.in.site_guid = NULL; - r.in.flags = 0x40000000; + r.in.flags = DS_RETURN_DNS_NAME; printf("Testing netr_DsRGetDCName\n"); @@ -1255,7 +1255,7 @@ static BOOL test_netr_DsRGetDCNameEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.domain_name = talloc_asprintf(mem_ctx, "%s", lp_realm()); r.in.domain_guid = NULL; r.in.site_name = NULL; - r.in.flags = 0x40000000; + r.in.flags = DS_RETURN_DNS_NAME; printf("Testing netr_DsRGetDCNameEx\n"); @@ -1288,7 +1288,7 @@ static BOOL test_netr_DsRGetDCNameEx2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx r.in.domain_name = talloc_asprintf(mem_ctx, "%s", lp_realm()); r.in.domain_guid = NULL; r.in.site_name = NULL; - r.in.flags = 0x40000000; + r.in.flags = DS_RETURN_DNS_NAME; printf("Testing netr_DsRGetDCNameEx2 without client account\n"); @@ -1301,8 +1301,8 @@ static BOOL test_netr_DsRGetDCNameEx2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx printf("Testing netr_DsRGetDCNameEx2 with client acount\n"); r.in.client_account = TEST_MACHINE_NAME"$"; - r.in.mask = 0x00002000; - r.in.flags = 0x80000000; + r.in.mask = ACB_SVRTRUST; + r.in.flags = DS_RETURN_FLAT_NAME; status = dcerpc_netr_DsRGetDCNameEx2(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status) || !W_ERROR_IS_OK(r.out.result)) { -- cgit