summaryrefslogtreecommitdiff
path: root/source/torture/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 20:56:26 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:11 +0100
commit7780bf285fdfc30f89409d0436bad0d4b6de5cd4 (patch)
treeecb236d184a4c88ca0008d2a525370cb9ea41176 /source/torture/auth
parentfb2150a07aa6460165efb4587c86ecc820cdeac0 (diff)
downloadsamba-7780bf285fdfc30f89409d0436bad0d4b6de5cd4.tar.gz
r26233: Pass loadparm context when creating krb5 contexts.
Diffstat (limited to 'source/torture/auth')
-rw-r--r--source/torture/auth/pac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/torture/auth/pac.c b/source/torture/auth/pac.c
index baa3bdf39a5..262cc70480f 100644
--- a/source/torture/auth/pac.c
+++ b/source/torture/auth/pac.c
@@ -57,6 +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,
&smb_krb5_context),
"smb_krb5_init_context");
@@ -285,6 +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,
&smb_krb5_context),
"smb_krb5_init_context");