summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 1 insertions, 3 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;