summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index e4cd3a7982..c4073569a3 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1269,7 +1269,11 @@ static void init_globals(void)
Globals.min_passwd_length = MINPASSWDLENGTH; /* By Default, 5. */
Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */
Globals.enhanced_browsing = True;
+#ifdef MMAP_BLACKLIST
+ Globals.bUseMmap = False;
+#else
Globals.bUseMmap = True;
+#endif
#ifdef WITH_LDAP
/* default values for ldap */