summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-20 19:51:40 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-20 19:58:36 +0200
commit5b55e47b71382eed168038fe0f94b25628b611f9 (patch)
treed93483d71473db1c8ff5cefd3938bbd6cf99947c
parentf024ca961e55c76410cc952938f3efc173c746ec (diff)
downloadsamba-5b55e47b71382eed168038fe0f94b25628b611f9.tar.gz
samba-5b55e47b71382eed168038fe0f94b25628b611f9.tar.bz2
samba-5b55e47b71382eed168038fe0f94b25628b611f9.zip
s4:libcli/smb2: fill in transport->negotiate.secblob with the correct data
metze
-rw-r--r--source4/libcli/smb2/connect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c
index b522a56239..8d6ea04dc8 100644
--- a/source4/libcli/smb2/connect.c
+++ b/source4/libcli/smb2/connect.c
@@ -105,6 +105,8 @@ static void continue_negprot(struct smb2_request *req)
c->status = smb2_negprot_recv(req, c, &state->negprot);
if (!composite_is_ok(c)) return;
+ transport->negotiate.secblob = state->negprot.out.secblob;
+ talloc_steal(transport, transport->negotiate.secblob.data);
transport->negotiate.system_time = state->negprot.out.system_time;
transport->negotiate.server_start_time = state->negprot.out.server_start_time;
transport->negotiate.security_mode = state->negprot.out.security_mode;