From 6511bfe84a4036e0d203858aa2f604e346c9412b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 9 Mar 2005 15:13:23 +0000 Subject: [PATCH] r5707: BUG 2425: remove ubran legend wrt to win98 and the DFS_PATHNAMES capability bit --- source/include/msdfs.h | 8 -------- source/smbd/trans2.c | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/source/include/msdfs.h b/source/include/msdfs.h index eaefa81c5b8..8b365d02ea6 100644 --- a/source/include/msdfs.h +++ b/source/include/msdfs.h @@ -72,14 +72,6 @@ struct dfs_path return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \ ERRSRV, ERRbadpath);; } -#define RESOLVE_FINDFIRST_DFSPATH(name, conn, inbuf, outbuf) \ -{ if ( (SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) || \ - ((get_remote_arch() == RA_WIN95) && lp_msdfs_root(SNUM(conn))) ) \ - if (lp_host_msdfs() && dfs_redirect(name,conn,True)) \ - return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \ - ERRSRV, ERRbadpath);; } - - #define init_dfsroot(conn, inbuf, outbuf) \ { if (lp_msdfs_root(SNUM(conn)) && lp_host_msdfs()) { \ DEBUG(2,("Serving %s as a Dfs root\n", \ diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index d493d37b731..cb9b7db4727 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -1378,7 +1378,7 @@ close_if_end = %d requires_resume_key = %d level = 0x%x, max_data_bytes = %d\n", return ERROR_NT(ntstatus); } - RESOLVE_FINDFIRST_DFSPATH(directory, conn, inbuf, outbuf); + RESOLVE_DFSPATH(directory, conn, inbuf, outbuf); unix_convert(directory,conn,0,&bad_path,&sbuf); if (bad_path) { -- 2.11.4.GIT