[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-3412-g167d611
Jeremy Allison
jra at samba.org
Fri Jul 25 01:14:04 GMT 2008
The branch, v3-3-test has been updated
via 167d611b525db6d103a7f83fd5a19792be4e7745 (commit)
from 12848e8eb91bf60551ada78e3430ee25142e366b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 167d611b525db6d103a7f83fd5a19792be4e7745
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 24 18:12:12 2008 -0700
If we're not allowing streams on this conn ptr,
then don't allow create_file() to call down to
create_file_unixpath() with a stream name.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/open.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/open.c b/source/smbd/open.c
index aa3bbdf..03efd09 100644
--- a/source/smbd/open.c
+++ b/source/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)) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list