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/smb_signing.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/smb_signing.c')
-rw-r--r-- | source4/libcli/raw/smb_signing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/smb_signing.c b/source4/libcli/raw/smb_signing.c index e19e81af7e..0053710aaf 100644 --- a/source4/libcli/raw/smb_signing.c +++ b/source4/libcli/raw/smb_signing.c @@ -383,7 +383,7 @@ bool smbcli_init_signing(struct smbcli_transport *transport) return false; } - switch (lp_client_signing(global_loadparm)) { + switch (transport->options.signing) { case SMB_SIGNING_OFF: transport->negotiate.sign_info.allow_smb_signing = false; break; |