From 286d8554aa4547629b7e5d1349be4550885b76a2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 7 Mar 2007 23:58:40 +0000 Subject: 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) --- source3/smbd/msdfs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/smbd/msdfs.c') 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; -- cgit