git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de4c962
)
fixed the error code for bad SMB2 ioctls
author
Andrew Tridgell
<tridge@samba.org>
Thu, 29 May 2008 10:46:18 +0000
(20:46 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 29 May 2008 10:46:18 +0000
(20:46 +1000)
(This used to be commit
b1d2d388ecff96dfcc17da24796f36c40cbb3eed
)
source4/ntvfs/posix/pvfs_ioctl.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_ioctl.c
b/source4/ntvfs/posix/pvfs_ioctl.c
index d0360e67ed73219f96b35c20880f6f3f5496a605..92d3eae061f2bb487a297f360dc20d158abe7e68 100644
(file)
--- 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;