diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-09 09:38:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:34 -0500 |
commit | ab9ca559269f9ef921eb3e6ec3007d2e249c6cfe (patch) | |
tree | 60e60ed25dab4c5049cb2e648e1bd35a6d6f34fb /source4/torture/rpc/lsa.c | |
parent | 6836f5d0b167027908da9a08b9b219520997b563 (diff) | |
download | samba-ab9ca559269f9ef921eb3e6ec3007d2e249c6cfe.tar.gz samba-ab9ca559269f9ef921eb3e6ec3007d2e249c6cfe.tar.bz2 samba-ab9ca559269f9ef921eb3e6ec3007d2e249c6cfe.zip |
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)
Diffstat (limited to 'source4/torture/rpc/lsa.c')
-rw-r--r-- | source4/torture/rpc/lsa.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |