From 6615907b94eb2395ddf907e92a543ff0525b9d02 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 1 Dec 2005 00:18:29 +0000 Subject: r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and that it only appeared to be like a SMBtrans request as it was being called with function 0x11c017 which is "named pipe read write" I wonder if this means we could do DCE/RPC over SMB using ntioctl calls as well? (This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa) --- source4/include/ioctl.h | 3 +++ source4/include/structs.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/include') diff --git a/source4/include/ioctl.h b/source4/include/ioctl.h index 1c08a58d76..cd658c121b 100644 --- a/source4/include/ioctl.h +++ b/source4/include/ioctl.h @@ -28,3 +28,6 @@ #define FSCTL_FILESYSTEM 0x90000 #define FSCTL_SET_SPARSE (FSCTL_FILESYSTEM | (49<<2)) #define FSCTL_REQUEST_BATCH_OPLOCK (FSCTL_FILESYSTEM | (2<<2)) + +#define FSCTL_NAMED_PIPE 0x110000 +#define FSCTL_NAMED_PIPE_READ_WRITE (FSCTL_NAMED_PIPE | 0xc017) diff --git a/source4/include/structs.h b/source4/include/structs.h index f593be6b84..34127c58ca 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -356,6 +356,6 @@ struct smb2_setinfo; struct smb2_read; struct smb2_write; struct smb2_find; -struct smb2_trans; +struct smb2_ioctl; struct smb2_flush; struct smb2_handle; -- cgit