summaryrefslogtreecommitdiff
path: root/source4/ntvfs/smb2
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 16:20:00 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 16:20:00 +0100
commit29a20af75f150a1774b187ce64199e5f0bcc2361 (patch)
treefe7e41923244415c154d11ad79fc9338453fe41d /source4/ntvfs/smb2
parentff36c52d8c7f146eca9c6c678456708a8e2efbab (diff)
downloadsamba-29a20af75f150a1774b187ce64199e5f0bcc2361.tar.gz
Remove use of global_loadparm for SMB2 client connections.
Diffstat (limited to 'source4/ntvfs/smb2')
-rw-r--r--source4/ntvfs/smb2/vfs_smb2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ntvfs/smb2/vfs_smb2.c b/source4/ntvfs/smb2/vfs_smb2.c
index 8e3219293d2..ebb17e28068 100644
--- a/source4/ntvfs/smb2/vfs_smb2.c
+++ b/source4/ntvfs/smb2/vfs_smb2.c
@@ -232,7 +232,8 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
lp_resolve_context(ntvfs->ctx->lp_ctx),
credentials,
ntvfs->ctx->event_ctx, &options,
- lp_socket_options(ntvfs->ctx->lp_ctx)
+ lp_socket_options(ntvfs->ctx->lp_ctx),
+ lp_gensec_settings(private, ntvfs->ctx->lp_ctx)
);
status = smb2_connect_recv(creq, private, &tree);