diff options
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index f7a52d7bd2b..9971ffa6798 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1975,7 +1975,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, SMB_ASSERT(lck != NULL); /* Delete streams if create_disposition requires it */ - if (file_existed && clear_ads) { + if (file_existed && clear_ads && !is_ntfs_stream_name(fname)) { status = delete_all_streams(conn, fname); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(lck); |