summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/client.h1
-rw-r--r--source3/libsmb/smb2cli_negprot.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 3c39e5494b..7c039ae590 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -166,6 +166,7 @@ struct cli_state {
uint32_t max_write_size;
struct timespec system_time;
struct timespec server_start_time;
+ DATA_BLOB gss_blob;
/* SMB2 tcon */
uint8_t share_type;
diff --git a/source3/libsmb/smb2cli_negprot.c b/source3/libsmb/smb2cli_negprot.c
index 75532cd477..df35225dd4 100644
--- a/source3/libsmb/smb2cli_negprot.c
+++ b/source3/libsmb/smb2cli_negprot.c
@@ -123,7 +123,7 @@ static void smb2cli_negprot_done(struct tevent_req *subreq)
tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE);
return;
}
- cli->secblob = data_blob(iov[1].iov_base, security_length);
+ cli->smb2.gss_blob = data_blob(iov[1].iov_base, security_length);
tevent_req_done(req);
}