diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/lsa.c | 8 | ||||
-rw-r--r-- | source4/torture/rpc/samr.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 0207c756bd..25c73a3fde 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -779,14 +779,14 @@ static BOOL test_CreateAccount(struct dcerpc_pipe *p, static BOOL test_DeleteTrustedDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle, - struct lsa_String name) + struct lsa_StringLarge name) { NTSTATUS status; struct lsa_OpenTrustedDomainByName r; struct policy_handle trustdom_handle; r.in.handle = handle; - r.in.name = name; + r.in.name.string = name.string; r.in.access_mask = SEC_STD_DELETE; r.out.trustdom_handle = &trustdom_handle; @@ -1466,7 +1466,7 @@ static BOOL test_query_each_TrustDom(struct dcerpc_pipe *p, } trust_by_name.in.handle = handle; - trust_by_name.in.name = domains->domains[i].name; + trust_by_name.in.name.string = domains->domains[i].name.string; trust_by_name.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; trust_by_name.out.trustdom_handle = &trustdom_handle; @@ -1524,7 +1524,7 @@ static BOOL test_query_each_TrustDom(struct dcerpc_pipe *p, struct lsa_QueryTrustedDomainInfoByName q; union lsa_TrustedDomainInfo info; q.in.handle = handle; - q.in.trusted_domain = domains->domains[i].name; + q.in.trusted_domain.string = domains->domains[i].name.string; q.in.level = levels[j]; q.out.info = &info; status = dcerpc_lsa_QueryTrustedDomainInfoByName(p, mem_ctx, &q); diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 210e5def21..3fe622b592 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -2262,7 +2262,7 @@ static BOOL test_EnumDomainUsers(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, n.in.num_names = r.out.sam->count; n.in.names = talloc_array(mem_ctx, struct lsa_String, r.out.sam->count); for (i=0;i<r.out.sam->count;i++) { - n.in.names[i] = r.out.sam->entries[i].name; + n.in.names[i].string = r.out.sam->entries[i].name.string; } status = dcerpc_samr_LookupNames(p, mem_ctx, &n); if (!NT_STATUS_IS_OK(status)) { |