]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smb2_sesssetup: remove unused code in smbd_smb2_reauth_generic_return()
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Aug 2012 03:35:37 +0000 (05:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Aug 2012 03:37:49 +0000 (05:37 +0200)
A reauth exchange is already signed, with the channel signing key.

metze

source3/smbd/smb2_sesssetup.c

index 8876d38996faef781c7d0dcccc90193920baca31..07a168f8f6cc41cc2637fe8b4c5cb43037109645 100644 (file)
@@ -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;