Revert "TMP/DEBUG: debugging in smb2 dispatcher"
authorGünther Deschner <gd@samba.org>
Mon, 27 Nov 2017 10:59:49 +0000 (11:59 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 11:34:56 +0000 (12:34 +0100)
This reverts commit 89e6bd421217bd4d071162c01e5c2400b1104bbb.

source3/smbd/smb2_server.c

index 0d0bd026969929c19413293709c84526a5327e59..6e134d80261f6c494542222edcf74f9999f11220 100644 (file)
@@ -2209,8 +2209,6 @@ static NTSTATUS smbd_smb2_request_dispatch_update_counts(
                generation_wrap += 1;
        }
 
-DBG_ERR("=== OBNOX (%s) === : csn req[%u] op[%u]\n", __location__, (unsigned)channel_sequence, (unsigned)op->global->channel_sequence);
-
        if (abs(cmp) > INT16_MAX) {
                /*
                 * [MS-SMB2] 3.3.5.2.10 - Verifying the Channel Sequence Number:
@@ -2327,13 +2325,6 @@ NTSTATUS smbd_smb2_request_dispatch(struct smbd_smb2_request *req)
        DEBUG(10,("smbd_smb2_request_dispatch: opcode[%s] mid = %llu\n",
                smb2_opcode_name(opcode),
                (unsigned long long)mid));
-{
-uint16_t channel_sequence;
-
-channel_sequence = SVAL(inhdr, SMB2_HDR_CHANNEL_SEQUENCE);
-
-DBG_ERR("=== OBNOX (%s) === : opcode[%s] mid[%llu] csn[%u]\n", __location__, smb2_opcode_name(opcode), (unsigned long long)mid, (unsigned)channel_sequence);
-}
 
        if (xconn->protocol >= PROTOCOL_SMB2_02) {
                /*