summaryrefslogtreecommitdiff
path: root/source4/torture/basic
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-30 02:47:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-30 02:47:19 +0200
commit181ee01da67985f5db684500247d655ce72fe611 (patch)
tree30e80ae912ea3ca940bb7d926644f412967667c2 /source4/torture/basic
parentcef80957c49c972e82a634724590b5fd5d6ca78f (diff)
downloadsamba-181ee01da67985f5db684500247d655ce72fe611.tar.gz
samba-181ee01da67985f5db684500247d655ce72fe611.tar.bz2
samba-181ee01da67985f5db684500247d655ce72fe611.zip
Pass session options around; saves another use of global_loadparm.
Diffstat (limited to 'source4/torture/basic')
-rw-r--r--source4/torture/basic/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index 24e0324bc3..c129fd586b 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -823,6 +823,7 @@ static struct composite_context *torture_connect_async(
smb->in.fallback_to_anonymous=false;
smb->in.workgroup=workgroup;
lp_smbcli_options(tctx->lp_ctx, &smb->in.options);
+ lp_smbcli_session_options(tctx->lp_ctx, &smb->in.session_options);
return smb_composite_connect_send(smb,mem_ctx,
lp_resolve_context(tctx->lp_ctx),ev);