summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-08 05:35:37 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-08 05:37:49 +0200
commit6bfdca4786cd6293650ecde784e316d2f0258a56 (patch)
tree9649054812cbbc4b13e95e7caf9973b2c079b8d0
parent5f7d786b08f2d67d200fb473b12781174a69e776 (diff)
downloadsamba-6bfdca4786cd6293650ecde784e316d2f0258a56.tar.gz
s3:smb2_sesssetup: remove unused code in smbd_smb2_reauth_generic_return()
A reauth exchange is already signed, with the channel signing key. metze
-rw-r--r--source3/smbd/smb2_sesssetup.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index 8876d38996f..07a168f8f6c 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -360,15 +360,6 @@ static NTSTATUS smbd_smb2_reauth_generic_return(struct smbXsrv_session *session,
conn_clear_vuid_caches(conn->sconn, session->compat->vuid);
- /*
- * we attach the session to the request
- * so that the response can be signed
- */
- smb2req->session = session;
- smb2req->do_signing = true;
-
- global_client_caps |= (CAP_LEVEL_II_OPLOCKS|CAP_STATUS32);
-
*out_session_id = session->global->session_wire_id;
return NT_STATUS_OK;