summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 23:26:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 23:26:36 +0100
commitd9cbf2b0d9fdd1373ea0a0d021df3230637e21ac (patch)
tree0e8efd7342b31ce79d7ea0fb0eb5681907a13fe2 /source4/ntvfs
parent79423337125978f5b5eef341283ff2a9c891fc5c (diff)
downloadsamba-d9cbf2b0d9fdd1373ea0a0d021df3230637e21ac.tar.gz
samba-d9cbf2b0d9fdd1373ea0a0d021df3230637e21ac.tar.bz2
samba-d9cbf2b0d9fdd1373ea0a0d021df3230637e21ac.zip
Remove another use of global_loadparm.
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/smb2/vfs_smb2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/ntvfs/smb2/vfs_smb2.c b/source4/ntvfs/smb2/vfs_smb2.c
index 7e8356e94e..8e3219293d 100644
--- a/source4/ntvfs/smb2/vfs_smb2.c
+++ b/source4/ntvfs/smb2/vfs_smb2.c
@@ -231,7 +231,9 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
remote_share,
lp_resolve_context(ntvfs->ctx->lp_ctx),
credentials,
- ntvfs->ctx->event_ctx, &options);
+ ntvfs->ctx->event_ctx, &options,
+ lp_socket_options(ntvfs->ctx->lp_ctx)
+ );
status = smb2_connect_recv(creq, private, &tree);
NT_STATUS_NOT_OK_RETURN(status);