summaryrefslogtreecommitdiffstats
path: root/source4/libcli/composite/sesssetup.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-16 11:45:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:53 -0500
commitab0fa0ba90b139231b9f345291ef8a655991765e (patch)
treea70a041e7b4d618efa339f3a48a975b9892c2cd4 /source4/libcli/composite/sesssetup.c
parent7cbc768376ed0a839afca64aeea99cd53d0fbc6f (diff)
downloadsamba-ab0fa0ba90b139231b9f345291ef8a655991765e.tar.gz
samba-ab0fa0ba90b139231b9f345291ef8a655991765e.tar.xz
samba-ab0fa0ba90b139231b9f345291ef8a655991765e.zip
r4778: I forgot to set the session key for the spnego path. Fixed.
(This used to be commit 870af4e2f2055013424d9dbe2df2c51faa810eec)
Diffstat (limited to 'source4/libcli/composite/sesssetup.c')
-rw-r--r--source4/libcli/composite/sesssetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/composite/sesssetup.c b/source4/libcli/composite/sesssetup.c
index 062235670e5..597c8d79232 100644
--- a/source4/libcli/composite/sesssetup.c
+++ b/source4/libcli/composite/sesssetup.c
@@ -130,6 +130,7 @@ static void request_handler(struct smbcli_request *req)
are happy */
state->session_key_err = gensec_session_key(session->gensec, &session_key);
if (NT_STATUS_IS_OK(state->session_key_err)) {
+ set_user_session_key(session, &session_key);
smbcli_transport_simple_set_signing(session->transport, session_key, null_data_blob);
}