summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-03 22:36:11 +0200
committerVolker Lendecke <vl@samba.org>2009-07-03 23:20:57 +0200
commit7e560bd802c2869d4280f15bde100bbda944b70b (patch)
tree3a79c37cdfecb8cb57cd119f7641002ba97d6853 /source3/smbd
parent56ae65ad5c0b9d4ef51dd06bd8a67841de2b57d3 (diff)
downloadsamba-7e560bd802c2869d4280f15bde100bbda944b70b.tar.gz
samba-7e560bd802c2869d4280f15bde100bbda944b70b.tar.bz2
samba-7e560bd802c2869d4280f15bde100bbda944b70b.zip
For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test. Jeremy, Tim, please check!
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 21e5804123..df31365675 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3487,7 +3487,7 @@ NTSTATUS create_file_default(connection_struct *conn,
TALLOC_FREE(fname);
if (!(conn->fs_capabilities & FILE_NAMED_STREAMS)) {
- status = NT_STATUS_OBJECT_PATH_NOT_FOUND;
+ status = NT_STATUS_OBJECT_NAME_NOT_FOUND;
goto fail;
}
}