From a33a5530545086b81a3b205aa109dff11c546926 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 3 Dec 2007 00:28:22 +0100 Subject: r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm. --- source/torture/auth/pac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/torture/auth') diff --git a/source/torture/auth/pac.c b/source/torture/auth/pac.c index 262cc70480f..5342e5ec397 100644 --- a/source/torture/auth/pac.c +++ b/source/torture/auth/pac.c @@ -57,7 +57,7 @@ static bool torture_pac_self_check(struct torture_context *tctx) torture_assert(tctx, 0 == smb_krb5_init_context(mem_ctx, NULL, - global_loadparm, + tctx->lp_ctx, &smb_krb5_context), "smb_krb5_init_context"); @@ -286,7 +286,7 @@ static bool torture_pac_saved_check(struct torture_context *tctx) TALLOC_CTX *mem_ctx = tctx; torture_assert(tctx, 0 == smb_krb5_init_context(mem_ctx, NULL, - global_loadparm, + tctx->lp_ctx, &smb_krb5_context), "smb_krb5_init_context"); -- cgit v1.2.1