summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-07 22:12:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:28 -0500
commitcdf0fdb1049fd68b46885cbea887dc0e595fa524 (patch)
treea65f32e375bcb8fa629b445e1dfbda00e43cd0ce /source/include
parentc1cfeb61a1d36d5cd219b5f5a7a84649e2028c4d (diff)
downloadsamba-cdf0fdb1049fd68b46885cbea887dc0e595fa524.tar.gz
samba-cdf0fdb1049fd68b46885cbea887dc0e595fa524.tar.xz
samba-cdf0fdb1049fd68b46885cbea887dc0e595fa524.zip
r21754: Volker is completely correct. There's no need for
the RESOLVE_DFSPATH macros and their varients any more. Fix reporting profile bug with all error returns. Jeremy.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/msdfs.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/include/msdfs.h b/source/include/msdfs.h
index 4e3487de0f4..bf553f4a993 100644
--- a/source/include/msdfs.h
+++ b/source/include/msdfs.h
@@ -64,26 +64,6 @@ struct dfs_path {
pstring reqpath;
};
-#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) \
-{ if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \
- lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \
- dfs_redirect(name, conn, False)) \
- return ERROR_BOTH(NT_STATUS_PATH_NOT_COVERED, \
- ERRSRV, ERRbadpath);; }
-
-#define RESOLVE_DFSPATH_STATUS(name, conn, inbuf, outbuf) \
-{ if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \
- lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \
- dfs_redirect(name, conn, False)) \
- return NT_STATUS_PATH_NOT_COVERED;; }
-
-#define RESOLVE_DFSPATH_WCARD(name, conn, inbuf, outbuf) \
-{ if ((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES) && \
- lp_host_msdfs() && lp_msdfs_root(SNUM(conn)) && \
- 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", \