summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
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/libcli/raw
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/libcli/raw')
-rw-r--r--source4/libcli/raw/clitree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c
index 15cd70833c..4b5d2dc397 100644
--- a/source4/libcli/raw/clitree.c
+++ b/source4/libcli/raw/clitree.c
@@ -177,7 +177,8 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
struct cli_credentials *credentials,
struct resolve_context *resolve_ctx,
struct event_context *ev,
- struct smbcli_options *options)
+ struct smbcli_options *options,
+ struct smbcli_session_options *session_options)
{
struct smb_composite_connect io;
NTSTATUS status;
@@ -200,6 +201,7 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
* is complete -- abartlet 2008-04-28 */
io.in.workgroup = lp_workgroup(global_loadparm);
io.in.options = *options;
+ io.in.session_options = *session_options;
status = smb_composite_connect(&io, parent_ctx, resolve_ctx, ev);
if (NT_STATUS_IS_OK(status)) {