Couple of minor fixes for POSIX pathname processing in the
commit7bb7a0def6518784befa75e5303289d2b4d36dd4
authorJeremy Allison <jra@samba.org>
Sun, 20 Jan 2008 05:53:49 +0000 (19 21:53 -0800)
committerJeremy Allison <jra@samba.org>
Sun, 20 Jan 2008 05:53:49 +0000 (19 21:53 -0800)
tree5d63593a219cae2e25b33f783d73e01fd8a67e46
parent487c43f9284598a3c60b06fc60e5c50844e11b87
Couple of minor fixes for POSIX pathname processing in the
new stream code. (1) In smbd/filename, don't split the name at
':' if we know it's a posix path (this should be parameterized....).
(2). When calling posix_mkdir, we get the flag FILE_FLAG_POSIX_SEMANTICS
passed to open_directory(). I know for a posix client lp_posix_pathnames
should be true (which is checked for in is_ntfs_stream_name() but we
have an explicit flag here, so let's use it.
Jeremy.
source/smbd/filename.c
source/smbd/open.c