summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-29 20:46:18 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-29 20:46:18 +1000
commit383d10577cdee64c3d41682413445569ea3d202e (patch)
tree354bfd27ab3046563caecc3ba719a26f0a705d90 /source4/ntvfs
parentde4c962638835274bd68680b2d338c074d8fab88 (diff)
downloadsamba-383d10577cdee64c3d41682413445569ea3d202e.tar.gz
samba-383d10577cdee64c3d41682413445569ea3d202e.tar.bz2
samba-383d10577cdee64c3d41682413445569ea3d202e.zip
fixed the error code for bad SMB2 ioctls
(This used to be commit b1d2d388ecff96dfcc17da24796f36c40cbb3eed)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_ioctl.c3
1 files changed, 2 insertions, 1 deletions
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;