| Subject: | [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3412-g167d611 |
|---|---|
| From: | jra@xxxxxxxxx (Jeremy Allison) |
| Date: | Thu, 24 Jul 2008 20:14:04 -0500 (CDT) |
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@xxxxxxxxx>
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2766-g7f749a1, Jeremy Allison |
|---|---|
| Next by Date: | [SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-157-g97d0273, Andrew Bartlett |
| Previous by Thread: | [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2766-g7f749a1, Jeremy Allison |
| Next by Thread: | [SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-157-g97d0273, Andrew Bartlett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |