r26238: Add a loadparm context parameter to torture_context, remove more uses of...
[metze/samba/wip.git] / source4 / torture / auth / pac.c
index 262cc70480f6f13547661c7c5dbbd3cfcce88eaa..5342e5ec397d5dfc90a80e032315b6330fb6d857 100644 (file)
@@ -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");