s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTED
[ira/wip.git] / source3 / smbd / smb2_ioctl.c
index 493ae551b57e340247e853dcdf12ebc2ec7ceee2..9ff6c8ea979436fe180444f597ffab4beed761a7 100644 (file)
@@ -336,7 +336,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
        case 0x0011C017: /* FSCTL_PIPE_TRANSCEIVE */
 
                if (!IS_IPC(smbreq->conn)) {
-                       tevent_req_nterror(req, NT_STATUS_INVALID_DEVICE_REQUEST);
+                       tevent_req_nterror(req, NT_STATUS_NOT_SUPPORTED);
                        return tevent_req_post(req, ev);
                }