diff options
author | Ralph Boehme <slow@samba.org> | 2018-11-09 15:26:44 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-11-23 09:01:26 +0100 |
commit | 2b73c8a0df41d0e3e303bd0de7d45141580c4eff (patch) | |
tree | 2ab8e9ea03c57911b5dfe40663243690f13a622d | |
parent | 33dc09073532ac7bb30a0ae97c08a1956491208d (diff) | |
download | samba-2b73c8a0df41d0e3e303bd0de7d45141580c4eff.tar.gz |
libcli/smb: maintain require_signed_response in smbXcli_req_state
Not used for now, that comes next.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13661
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 67cfb01611869b7590ccd836dd13a80e53545714)
-rw-r--r-- | libcli/smb/smbXcli_base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index e908a44402f..51702efdb3f 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -290,6 +290,7 @@ struct smbXcli_req_state { uint64_t encryption_session_id; bool signing_skipped; + bool require_signed_response; bool notify_async; bool got_async; uint16_t cancel_flags; @@ -2963,6 +2964,8 @@ struct tevent_req *smb2cli_req_create(TALLOC_CTX *mem_ctx, state->smb2.should_sign = session->smb2->should_sign; state->smb2.should_encrypt = session->smb2->should_encrypt; + state->smb2.require_signed_response = + session->smb2->require_signed_response; if (cmd == SMB2_OP_SESSSETUP && session->smb2_channel.signing_key.length == 0 && |