summaryrefslogtreecommitdiff
path: root/source4/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
commit120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2 (patch)
treeb7fa447f3959f84417d58a0b60ca8bb0c8de17b1 /source4/torture/auth
parentda0640518f67545df6a1da30c916fbc452d38a39 (diff)
downloadsamba-120ecdb5cb7dbd7c650f3e9fbcefb925f695e0f2.tar.gz
r26233: Pass loadparm context when creating krb5 contexts.
(This used to be commit 7780bf285fdfc30f89409d0436bad0d4b6de5cd4)
Diffstat (limited to 'source4/torture/auth')
-rw-r--r--source4/torture/auth/pac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c
index baa3bdf39a5..262cc70480f 100644
--- a/source4/torture/auth/pac.c
+++ b/source4/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");