summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit39d7983a470cc3470dd7126de35697d965817cb6 (patch)
tree3ea0a07654ef722724da73d90f21297a373a97e9 /source3/smbd
parente041c15c533f4f181875e334463c825b46a79a7c (diff)
downloadsamba-39d7983a470cc3470dd7126de35697d965817cb6.tar.gz
samba-39d7983a470cc3470dd7126de35697d965817cb6.tar.bz2
samba-39d7983a470cc3470dd7126de35697d965817cb6.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 (This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/negprot.c4
-rw-r--r--source3/smbd/nttrans.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 6eda7e39db..9ebb0b7350 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -214,10 +214,8 @@ static int reply_nt1(char *outbuf)
capabilities |= CAP_UNICODE;
}
-#ifdef WITH_MSDFS
- if(lp_host_msdfs())
+ if (lp_host_msdfs())
capabilities |= CAP_DFS;
-#endif
if (lp_security() >= SEC_USER) secword |= 1;
if (doencrypt) secword |= 2;
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index aee5aa7798..ca1efd0221 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -41,9 +41,7 @@ static char *known_nt_pipes[] = {
"\\lsarpc",
"\\winreg",
"\\spoolss",
-#ifdef WITH_MSDFS
"\\netdfs",
-#endif
NULL
};