[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3509-g985ba58
Jeremy Allison
jra at samba.org
Thu Mar 19 03:00:00 GMT 2009
The branch, v3-2-test has been updated
via 985ba585207e840caa17c3d87d93ef1ba5f15cbb (commit)
from b5d794d5de872bcf757c8021c103b6b3d320b8db (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 985ba585207e840caa17c3d87d93ef1ba5f15cbb
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 18 19:58:01 2009 -0700
Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS client
Looks like the pathname parsing for POSIX paths got
broken when the code for doing Windows streams parsing got added.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/reply.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 159c6f4..a374b65 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -78,11 +78,16 @@ static NTSTATUS check_path_syntax_internal(char *path,
}
}
- if (!stream_started && *s == ':') {
+ if (!posix_path && !stream_started && *s == ':') {
if (*p_last_component_contains_wcard) {
return NT_STATUS_OBJECT_NAME_INVALID;
}
- /* stream names allow more characters than file names */
+ /* Stream names allow more characters than file names.
+ We're overloading posix_path here to allow a wider
+ range of characters. If stream_started is true this
+ is still a Windows path even if posix_path is true.
+ JRA.
+ */
stream_started = true;
start_of_name_component = false;
posix_path = true;
--
Samba Shared Repository
More information about the samba-cvs
mailing list