summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
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
};