summaryrefslogtreecommitdiffstats
path: root/source3/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-03-27 09:17:15 +1300
committerDavid Disseldorp <ddiss@samba.org>2014-04-02 11:05:46 +0200
commit4d50c751595511936c3d9a44ebb26a925c50a8bc (patch)
treed4abcf2c0089bb6532d85e272108e1f829d51830 /source3/torture
parente1ec1f5d8df8511b2320cd25676896de170983d1 (diff)
downloadsamba-4d50c751595511936c3d9a44ebb26a925c50a8bc.tar.gz
samba-4d50c751595511936c3d9a44ebb26a925c50a8bc.tar.xz
samba-4d50c751595511936c3d9a44ebb26a925c50a8bc.zip
s3-auth: Finally change make_user_info_*() use a parent talloc context
Change-Id: Iedf516e8c24e0d18064aeedd8e287ed692d3c5b4 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/pdbtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index d391e96109..feadcf9412 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -277,7 +277,8 @@ static bool test_auth(TALLOC_CTX *mem_ctx, struct samu *pdb_entry)
return False;
}
- status = make_user_info(&user_info, pdb_get_username(pdb_entry), pdb_get_username(pdb_entry),
+ status = make_user_info(mem_ctx,
+ &user_info, pdb_get_username(pdb_entry), pdb_get_username(pdb_entry),
pdb_get_domain(pdb_entry), pdb_get_domain(pdb_entry), lp_netbios_name(),
tsocket_address, NULL, &nt_resp, NULL, NULL, NULL,
AUTH_PASSWORD_RESPONSE);