summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-12 03:08:51 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-12 03:08:51 +0000
commitb8651acb9c0d7248a6a2e82c33b1e43633fd83fd (patch)
tree6b6c94cba0c1a5ad902b0e31be732686fa062e52 /source/include
parent5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17 (diff)
downloadsamba-b8651acb9c0d7248a6a2e82c33b1e43633fd83fd.tar.gz
samba-b8651acb9c0d7248a6a2e82c33b1e43633fd83fd.tar.xz
samba-b8651acb9c0d7248a6a2e82c33b1e43633fd83fd.zip
- enable MSDFS by default, there seems no reason not to have it enabled
by default in Samba 3.x - got rid of some unused parameters in Makefile.in - declare DEBUGLEVEL in debug.h rather than in each file
Diffstat (limited to 'source/include')
-rw-r--r--source/include/debug.h1
-rw-r--r--source/include/msdfs.h10
2 files changed, 1 insertions, 10 deletions
diff --git a/source/include/debug.h b/source/include/debug.h
index cad802d8ca3..b726859a0bc 100644
--- a/source/include/debug.h
+++ b/source/include/debug.h
@@ -41,6 +41,7 @@ int Debug1( char *, ... ) PRINTF_ATTRIBUTE(1,2);
BOOL dbgtext( char *, ... ) PRINTF_ATTRIBUTE(1,2);
extern XFILE *dbf;
+extern int DEBUGLEVEL;
/* If we have these macros, we can add additional info to the header. */
#ifdef HAVE_FILE_MACRO
diff --git a/source/include/msdfs.h b/source/include/msdfs.h
index 0748577b0b9..df2ea5a6e4a 100644
--- a/source/include/msdfs.h
+++ b/source/include/msdfs.h
@@ -59,8 +59,6 @@ struct dfs_path
pstring restofthepath;
};
-#ifdef WITH_MSDFS
-
#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) \
{ if(((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES)) && \
dfs_redirect(name,conn)) \
@@ -77,12 +75,4 @@ struct dfs_path
SSVAL(outbuf, smb_vwv2, SMB_SHARE_IN_DFS | SMB_SUPPORT_SEARCH_BITS); \
}
-#else
-/* Stub macros */
-#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) ;
-#define RESOLVE_FINDFIRST_DFSPATH(name, conn, inbuf, outbuf) ;
-#define init_dfsroot(conn, inbuf, outbuf) ;
-
-#endif
-
#endif /* _MSDFS_H */