summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-07 23:58:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:28 -0500
commit286d8554aa4547629b7e5d1349be4550885b76a2 (patch)
tree75925581fe77c3bde47a62b4d6cfb9b0f084e5b9 /source3/smbd
parentaab1dd4ddbe45c625a6e4502cecd20da5762739b (diff)
downloadsamba-286d8554aa4547629b7e5d1349be4550885b76a2.tar.gz
samba-286d8554aa4547629b7e5d1349be4550885b76a2.tar.bz2
samba-286d8554aa4547629b7e5d1349be4550885b76a2.zip
r21756: An invarient the dfs code depended on for POSIX paths
is no longer true, so fix it. Jeremy. (This used to be commit 698159c0ee8d9adb3b56231c0c8ad2ddebd5be11)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/msdfs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index f06bb3b044..25c9c59497 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -78,16 +78,13 @@ static BOOL parse_dfs_path(const char *pathname, struct dfs_path *pdp)
into the dfs_path structure
This code is dependent on the fact that check_path_syntax() will
convert '\\' characters to '/'.
- When POSIX pathnames have been selected this doesn't happen, so we
- must look for the unaltered separator of '\\' instead of the modified '/'.
- JRA.
**********************************************************************/
static BOOL parse_processed_dfs_path(char* pathname, struct dfs_path *pdp, BOOL allow_wcards)
{
pstring pathname_local;
char *p,*temp;
- const char sepchar = lp_posix_pathnames() ? '\\' : '/';
+ const char sepchar = '/';
pstrcpy(pathname_local,pathname);
p = temp = pathname_local;