From ab9ca559269f9ef921eb3e6ec3007d2e249c6cfe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Jan 2005 09:38:16 +0000 Subject: r4617: basic alter_context requests now work in our client library. The test just does a simple LSA/DSSETUP combo, which is what w2k does in the ACL editor rpc calls that triggered this work (This used to be commit 0129ec947aa1fa5a7104dc3a666af3cb9bd104f1) --- source4/torture/rpc/lsa.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/torture/rpc/lsa.c') diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 3784294797..7f1411ea84 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -65,8 +65,8 @@ static BOOL test_OpenPolicy(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) } -static BOOL test_OpenPolicy2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, - struct policy_handle *handle) +BOOL test_lsa_OpenPolicy2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, + struct policy_handle *handle) { struct lsa_ObjectAttribute attr; struct lsa_QosInfo qos; @@ -1298,9 +1298,9 @@ static BOOL test_GetUserName(struct dcerpc_pipe *p, return ret; } -static BOOL test_Close(struct dcerpc_pipe *p, - TALLOC_CTX *mem_ctx, - struct policy_handle *handle) +BOOL test_lsa_Close(struct dcerpc_pipe *p, + TALLOC_CTX *mem_ctx, + struct policy_handle *handle) { NTSTATUS status; struct lsa_Close r; @@ -1351,7 +1351,7 @@ BOOL torture_rpc_lsa(void) ret = False; } - if (!test_OpenPolicy2(p, mem_ctx, &handle)) { + if (!test_lsa_OpenPolicy2(p, mem_ctx, &handle)) { ret = False; } @@ -1401,7 +1401,7 @@ BOOL torture_rpc_lsa(void) } #endif - if (!test_Close(p, mem_ctx, &handle)) { + if (!test_lsa_Close(p, mem_ctx, &handle)) { ret = False; } -- cgit