diff options
Diffstat (limited to 'source4/torture/rpc/lsa.c')
-rw-r--r-- | source4/torture/rpc/lsa.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 61288b5f5b..9df5dc0078 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -271,17 +271,17 @@ static BOOL test_LookupSids(struct dcerpc_pipe *p, return True; } -static BOOL test_EnumSids(struct dcerpc_pipe *p, +static BOOL test_EnumAccounts(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle) { NTSTATUS status; - struct lsa_EnumSids r; + struct lsa_EnumAccounts r; struct lsa_SidArray sids1, sids2; uint32 resume_handle = 0; int i; - printf("\ntesting EnumSids\n"); + printf("\ntesting EnumAccounts\n"); r.in.handle = handle; r.in.resume_handle = &resume_handle; @@ -290,9 +290,9 @@ static BOOL test_EnumSids(struct dcerpc_pipe *p, r.out.sids = &sids1; resume_handle = 0; - status = dcerpc_lsa_EnumSids(p, mem_ctx, &r); + status = dcerpc_lsa_EnumAccounts(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { - printf("EnumSids failed - %s\n", nt_errstr(status)); + printf("EnumAccounts failed - %s\n", nt_errstr(status)); return False; } @@ -310,14 +310,14 @@ static BOOL test_EnumSids(struct dcerpc_pipe *p, return True; } - printf("trying EnumSids partial listing (asking for 1 at 2)\n"); + printf("trying EnumAccounts partial listing (asking for 1 at 2)\n"); resume_handle = 2; r.in.num_entries = 1; r.out.sids = &sids2; - status = dcerpc_lsa_EnumSids(p, mem_ctx, &r); + status = dcerpc_lsa_EnumAccounts(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { - printf("EnumSids failed - %s\n", nt_errstr(status)); + printf("EnumAccounts failed - %s\n", nt_errstr(status)); return False; } @@ -352,7 +352,7 @@ BOOL torture_rpc_lsa(int dummy) ret = False; } - if (!test_EnumSids(p, mem_ctx, &handle)) { + if (!test_EnumAccounts(p, mem_ctx, &handle)) { ret = False; } |