summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-06 10:36:42 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-06 11:01:44 +0200
commit0e261d0e9c89ff11dc37b2bfd70c74c3a06486bd (patch)
treed93d9231b3122aee122bd4f93a90fbf2bb2587cd /source3
parent21ac549e96b3e37efc2d45186d02df7d0fb3af61 (diff)
downloadsamba-0e261d0e9c89ff11dc37b2bfd70c74c3a06486bd.tar.gz
samba-0e261d0e9c89ff11dc37b2bfd70c74c3a06486bd.tar.bz2
samba-0e261d0e9c89ff11dc37b2bfd70c74c3a06486bd.zip
s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTED
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_ioctl.c b/source3/smbd/smb2_ioctl.c
index 493ae551b5..9ff6c8ea97 100644
--- a/source3/smbd/smb2_ioctl.c
+++ b/source3/smbd/smb2_ioctl.c
@@ -336,7 +336,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
case 0x0011C017: /* FSCTL_PIPE_TRANSCEIVE */
if (!IS_IPC(smbreq->conn)) {
- tevent_req_nterror(req, NT_STATUS_INVALID_DEVICE_REQUEST);
+ tevent_req_nterror(req, NT_STATUS_NOT_SUPPORTED);
return tevent_req_post(req, ev);
}