summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_connect.c
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/librpc/rpc/dcerpc_connect.c
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/librpc/rpc/dcerpc_connect.c')
-rw-r--r--source4/librpc/rpc/dcerpc_connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c
index 26bccbbad7..9bd503c625 100644
--- a/source4/librpc/rpc/dcerpc_connect.c
+++ b/source4/librpc/rpc/dcerpc_connect.c
@@ -125,6 +125,7 @@ static struct composite_context *dcerpc_pipe_connect_ncacn_np_smb_send(TALLOC_CT
conn->in.max_protocol = lp_cli_maxprotocol(lp_ctx);
conn->in.unicode = lp_unicode(lp_ctx);
conn->in.use_spnego = lp_use_spnego(lp_ctx) && lp_nt_status_support(lp_ctx);
+ conn->in.signing = lp_client_signing(lp_ctx);
/*
* provide proper credentials - user supplied, but allow a