diff options
-rw-r--r-- | source3/smbd/open.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index aa3bbdf685..03efd09f06 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2999,6 +2999,11 @@ NTSTATUS create_file(connection_struct *conn, ZERO_STRUCT(sbuf); goto done; } + + if (!(conn->fs_capabilities & FILE_NAMED_STREAMS)) { + status = NT_STATUS_OBJECT_PATH_NOT_FOUND; + goto fail; + } } if ((req != NULL) && (req->flags2 & FLAGS2_DFS_PATHNAMES)) { |