r26233: Pass loadparm context when creating krb5 contexts.
[jelmer/samba4-debian.git] / source / torture / auth / pac.c
index baa3bdf39a51b52dcfa2578ed5c68c2e71a8af37..262cc70480f6f13547661c7c5dbbd3cfcce88eaa 100644 (file)
@@ -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");