summaryrefslogtreecommitdiff
path: root/source/torture/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 00:28:22 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:20 +0100
commita33a5530545086b81a3b205aa109dff11c546926 (patch)
tree27259293dfcb5de9c6f94a6fe5c2ae899317cbb3 /source/torture/auth
parent1386c5c92505a950c65411b8af74d703ce023f95 (diff)
downloadsamba-a33a5530545086b81a3b205aa109dff11c546926.tar.gz
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
Diffstat (limited to 'source/torture/auth')
-rw-r--r--source/torture/auth/pac.c4
1 files changed, 2 insertions, 2 deletions
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");