summaryrefslogtreecommitdiff
path: root/source4/ntvfs/cifs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-03 17:21:58 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-03 12:33:36 -0600
commit425732f688865ebe2bfe568c8278edec50cbdedf (patch)
tree6b8a847c85af4edc38b4e58cd3e82a9baeb8ed18 /source4/ntvfs/cifs
parent5d0e4f2147d4d1d0104d55756e91ffc13d25c1f3 (diff)
downloadsamba-425732f688865ebe2bfe568c8278edec50cbdedf.tar.gz
samba-425732f688865ebe2bfe568c8278edec50cbdedf.tar.bz2
samba-425732f688865ebe2bfe568c8278edec50cbdedf.zip
r26651: libsmb: Allow specifying signing policy from higher up.
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
Diffstat (limited to 'source4/ntvfs/cifs')
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index 0b4cbb8a13..0b0c9b1037 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -208,6 +208,7 @@ static NTSTATUS cvfs_connect(struct ntvfs_module_context *ntvfs,
io.in.max_protocol = lp_cli_maxprotocol(ntvfs->ctx->lp_ctx);
io.in.unicode = lp_unicode(ntvfs->ctx->lp_ctx);
io.in.use_spnego = lp_use_spnego(ntvfs->ctx->lp_ctx) && lp_nt_status_support(ntvfs->ctx->lp_ctx);
+ io.in.signing = lp_client_signing(ntvfs->ctx->lp_ctx);
creq = smb_composite_connect_send(&io, private,
lp_resolve_context(ntvfs->ctx->lp_ctx),