diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-03 17:21:58 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-03 12:33:36 -0600 |
commit | 425732f688865ebe2bfe568c8278edec50cbdedf (patch) | |
tree | 6b8a847c85af4edc38b4e58cd3e82a9baeb8ed18 /source4/libcli/raw/clitransport.c | |
parent | 5d0e4f2147d4d1d0104d55756e91ffc13d25c1f3 (diff) | |
download | samba-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/libcli/raw/clitransport.c')
-rw-r--r-- | source4/libcli/raw/clitransport.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index bdaeaeb58a..3ca828d46b 100644 --- a/source4/libcli/raw/clitransport.c +++ b/source4/libcli/raw/clitransport.c @@ -76,7 +76,8 @@ struct smbcli_transport *smbcli_transport_init(struct smbcli_socket *sock, bool primary, int max_xmit, int max_mux, - bool use_spnego) + bool use_spnego, + enum smb_signing_state signing) { struct smbcli_transport *transport; @@ -93,6 +94,7 @@ struct smbcli_transport *smbcli_transport_init(struct smbcli_socket *sock, transport->options.max_xmit = max_xmit; transport->options.max_mux = max_mux; transport->options.request_timeout = SMB_REQUEST_TIMEOUT; + transport->options.signing = signing; transport->negotiate.max_xmit = transport->options.max_xmit; |