summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samlogon.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-01 01:37:31 +0100
committerGünther Deschner <gd@samba.org>2008-11-01 01:41:22 +0100
commit7ca8be13842a488691e33ba3edd0b714e5e3ae6a (patch)
tree3902c842ee51c50bafae8aa1360dbbe4fd957ace /source4/torture/rpc/samlogon.c
parentbb6681ef9d9ae0e1000ebded56bdb2d14c5c795b (diff)
downloadsamba-7ca8be13842a488691e33ba3edd0b714e5e3ae6a.tar.gz
samba-7ca8be13842a488691e33ba3edd0b714e5e3ae6a.tar.bz2
samba-7ca8be13842a488691e33ba3edd0b714e5e3ae6a.zip
s4-smbtorture: fix segfault in RPC-SAMLOGON test.
Use torture_context when calling test_ChangePasswordUser3. Guenther
Diffstat (limited to 'source4/torture/rpc/samlogon.c')
-rw-r--r--source4/torture/rpc/samlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index 9a707605e6..db4657e835 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -1567,7 +1567,7 @@ bool torture_rpc_samlogon(struct torture_context *torture)
old_user_password = user_password;
- test_ChangePasswordUser3(torture_join_samr_pipe(user_ctx), mem_ctx,
+ test_ChangePasswordUser3(torture_join_samr_pipe(user_ctx), torture,
TEST_USER_NAME, 16 /* > 14 */, &user_password,
NULL, 0, false);