summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-10 14:01:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:00 -0500
commit5468516f9af10cb3c67bc93c610c22b5383e20db (patch)
treecc2b84121234dd1e9ead2ae6839eb20213515f7f /source4/ntvfs/ipc
parentfabc6ae74ded03faac1ed23d79a61e205cd78daa (diff)
downloadsamba-5468516f9af10cb3c67bc93c610c22b5383e20db.tar.gz
samba-5468516f9af10cb3c67bc93c610c22b5383e20db.tar.bz2
samba-5468516f9af10cb3c67bc93c610c22b5383e20db.zip
r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
the operation doesn't need a valid file handle in that case metze (This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index a0104cae4d..cc8b4af285 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -843,6 +843,9 @@ static NTSTATUS ipc_ioctl(struct ntvfs_module_context *ntvfs,
case RAW_IOCTL_SMB2:
return ipc_ioctl_smb2(ntvfs, req, io);
+ case RAW_IOCTL_SMB2_NO_HANDLE:
+ return NT_STATUS_FS_DRIVER_REQUIRED;
+
default:
return NT_STATUS_ACCESS_DENIED;
}