HACK skip smbd_smb2_request_verify_*
authorStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2013 12:21:01 +0000 (13:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2014 23:04:54 +0000 (00:04 +0100)
source3/smbd/smb2_write.c

index 4201822ded04e38605c923f27b2f45f6e0b50394..f74e44adc45db5d8258ad23562ceaea9b08fd701 100644 (file)
@@ -52,7 +52,7 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req)
        uint8_t *in_dyn_ptr = NULL;
        struct tevent_req *subreq;
 
-       status = smbd_smb2_request_verify_sizes(req, 0x31);
+       status = NT_STATUS_OK;//smbd_smb2_request_verify_sizes(req, 0x31);
        if (!NT_STATUS_IS_OK(status)) {
                return smbd_smb2_request_error(req, status);
        }
@@ -95,7 +95,7 @@ NTSTATUS smbd_smb2_request_process_write(struct smbd_smb2_request *req)
        in_data_buffer.data = in_dyn_ptr;
        in_data_buffer.length = in_data_length;
 
-       status = smbd_smb2_request_verify_creditcharge(req, in_data_length);
+       status = NT_STATUS_OK;//smbd_smb2_request_verify_creditcharge(req, in_data_length);
        if (!NT_STATUS_IS_OK(status)) {
                return smbd_smb2_request_error(req, status);
        }