From: Andrew Tridgell Date: Thu, 29 May 2008 10:46:18 +0000 (+1000) Subject: fixed the error code for bad SMB2 ioctls X-Git-Tag: samba-4.0.0alpha4~9^2~8^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1d2d388ecff96dfcc17da24796f36c40cbb3eed;p=thirdparty%2Fsamba.git fixed the error code for bad SMB2 ioctls --- diff --git a/source/ntvfs/posix/pvfs_ioctl.c b/source/ntvfs/posix/pvfs_ioctl.c index d0360e67ed7..92d3eae061f 100644 --- a/source/ntvfs/posix/pvfs_ioctl.c +++ b/source/ntvfs/posix/pvfs_ioctl.c @@ -73,7 +73,8 @@ NTSTATUS pvfs_ioctl(struct ntvfs_module_context *ntvfs, case RAW_IOCTL_SMB2: case RAW_IOCTL_SMB2_NO_HANDLE: - return NT_STATUS_FS_DRIVER_REQUIRED; + /* see WSPP SMB2 test 46 */ + return NT_STATUS_INVALID_DEVICE_REQUEST; } return NT_STATUS_INVALID_LEVEL;