diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 16:07:28 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 16:07:28 +0100 |
commit | ff36c52d8c7f146eca9c6c678456708a8e2efbab (patch) | |
tree | 8ae184942009eaef07148baf6ef7f33064555b40 /source4/torture/util_smb.c | |
parent | 7a0e5de08d487108c604b4bab8a2c8e689808d9f (diff) | |
download | samba-ff36c52d8c7f146eca9c6c678456708a8e2efbab.tar.gz samba-ff36c52d8c7f146eca9c6c678456708a8e2efbab.tar.bz2 samba-ff36c52d8c7f146eca9c6c678456708a8e2efbab.zip |
Remove another use of global_loadparm.
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r-- | source4/torture/util_smb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 5157369a78..ae051b9735 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -490,7 +490,8 @@ _PUBLIC_ bool torture_open_connection_share(TALLOC_CTX *mem_ctx, cmdline_credentials, lp_resolve_context(tctx->lp_ctx), ev, &options, &session_options, - lp_iconv_convenience(tctx->lp_ctx)); + lp_iconv_convenience(tctx->lp_ctx), + lp_gensec_settings(tctx, tctx->lp_ctx)); if (!NT_STATUS_IS_OK(status)) { printf("Failed to open connection - %s\n", nt_errstr(status)); return false; |