diff options
author | Günther Deschner <gd@samba.org> | 2007-05-24 23:38:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:52 -0500 |
commit | d875b7d620c1007f38fb886cb8d5342a2d261585 (patch) | |
tree | 34cf88f2c859d8b4d8a32ee45e8247f3f361da4f /source4/torture | |
parent | c64358e339aed0adba3dc66c1e598a0d3e8073a7 (diff) | |
download | samba-d875b7d620c1007f38fb886cb8d5342a2d261585.tar.gz samba-d875b7d620c1007f38fb886cb8d5342a2d261585.tar.bz2 samba-d875b7d620c1007f38fb886cb8d5342a2d261585.zip |
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)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 10 |
1 files changed, 5 insertions, 5 deletions
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)) { |