summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 062235670e..597c8d7923 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);
}