diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-03 21:21:05 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-03 15:27:01 -0600 |
commit | 4537be154291100e80b772004af8c25f85a87e52 (patch) | |
tree | ed102c7f918929945bd3c182f67622dd1a9d8c20 /source4/torture/auth | |
parent | dcc282590b34537fc1ead61c3300172528273b44 (diff) | |
download | samba-4537be154291100e80b772004af8c25f85a87e52.tar.gz samba-4537be154291100e80b772004af8c25f85a87e52.tar.bz2 samba-4537be154291100e80b772004af8c25f85a87e52.zip |
r26655: torture/auth/pac: remove uses of global_loadparm
(This used to be commit ff67935be4980c701a9cd9a7fa435b8d1e02dfec)
Diffstat (limited to 'source4/torture/auth')
-rw-r--r-- | source4/torture/auth/pac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c index ea9c2237e5..efb36e3ef8 100644 --- a/source4/torture/auth/pac.c +++ b/source4/torture/auth/pac.c @@ -518,7 +518,7 @@ static bool torture_pac_saved_check(struct torture_context *tctx) */ if (tmp_blob.length != validate_blob.length) { ndr_err = ndr_pull_struct_blob(&validate_blob, mem_ctx, - lp_iconv_convenience(global_loadparm), &pac_data2, + lp_iconv_convenience(tctx->lp_ctx), &pac_data2, (ndr_pull_flags_fn_t)ndr_pull_PAC_DATA); nt_status = ndr_map_error2ntstatus(ndr_err); torture_assert_ntstatus_ok(tctx, nt_status, "can't parse the PAC"); @@ -540,7 +540,7 @@ static bool torture_pac_saved_check(struct torture_context *tctx) if (memcmp(tmp_blob.data, validate_blob.data, tmp_blob.length) != 0) { ndr_err = ndr_pull_struct_blob(&validate_blob, mem_ctx, - lp_iconv_convenience(global_loadparm), &pac_data2, + lp_iconv_convenience(tctx->lp_ctx), &pac_data2, (ndr_pull_flags_fn_t)ndr_pull_PAC_DATA); nt_status = ndr_map_error2ntstatus(ndr_err); torture_assert_ntstatus_ok(tctx, nt_status, "can't parse the PAC"); |