From 383d10577cdee64c3d41682413445569ea3d202e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 29 May 2008 20:46:18 +1000 Subject: fixed the error code for bad SMB2 ioctls (This used to be commit b1d2d388ecff96dfcc17da24796f36c40cbb3eed) --- source4/ntvfs/posix/pvfs_ioctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/ntvfs/posix/pvfs_ioctl.c b/source4/ntvfs/posix/pvfs_ioctl.c index d0360e67ed..92d3eae061 100644 --- a/source4/ntvfs/posix/pvfs_ioctl.c +++ b/source4/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; -- cgit