summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 21:47:33 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-13 23:34:13 +0200
commita26fe036fee538c16a9e1b5e2369270260aec189 (patch)
tree50c1eeb433231b35245eb8227c72a50e0ee66645 /source3
parent15179852ea9d5b7427589a658f42ce7243b4d1fd (diff)
downloadsamba-a26fe036fee538c16a9e1b5e2369270260aec189.tar.gz
samba-a26fe036fee538c16a9e1b5e2369270260aec189.tar.bz2
samba-a26fe036fee538c16a9e1b5e2369270260aec189.zip
s3:smb2cli: split cli->smb2.gss_blob from cli->secblob
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 23:34:13 CEST 2011 on sn-devel-104
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);
}