summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-02-18 10:19:57 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-19 11:29:29 +1300
commit4d792db03f18aa164b565c7fdc7b446c174fba28 (patch)
tree332286e21856eb20c5600780e01cc0da7453decc /source3/torture
parent3dc72266005e87a291f5bf9847257e8c54314d39 (diff)
downloadsamba-4d792db03f18aa164b565c7fdc7b446c174fba28.tar.gz
s3-auth: Pass mem_ctx to auth_check_ntlm_password().
Coverity-Id: 1168009 BUG: https://bugzilla.samba.org/show_bug.cgi?id=8598 Signed-off-by: Andreas Schneider <asn@samba.org> Change-Id: Ie01674561a6a75239a13918d3190c2f21c3efc7a Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/pdbtest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index df2c3263783..990917f5cbb 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -304,7 +304,10 @@ static bool test_auth(TALLOC_CTX *mem_ctx, struct samu *pdb_entry)
return False;
}
- status = auth_check_ntlm_password(auth_context, user_info, &server_info);
+ status = auth_check_ntlm_password(mem_ctx,
+ auth_context,
+ user_info,
+ &server_info);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to test authentication with auth module: %s\n", nt_errstr(status)));