From eb96dddb281e5a6c69b12b05a8dda35b0e7f6de1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 21 Nov 2006 13:42:31 +0000 Subject: r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke Volker (This used to be commit b32c8356f783e0919f29b452be9417d7ff59b5bc) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 5e39544420..81c642daf8 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1534,7 +1534,7 @@ static void init_globals(BOOL first_time_only) Globals.bNTPipeSupport = True; /* Do NT pipes by default. */ Globals.bNTStatusSupport = True; /* Use NT status by default. */ Globals.bStatCache = True; /* use stat cache by default */ - Globals.iMaxStatCacheSize = 0; /* unlimited size in kb by default. */ + Globals.iMaxStatCacheSize = 1024; /* one Meg by default. */ Globals.restrict_anonymous = 0; Globals.bClientLanManAuth = True; /* Do use the LanMan hash if it is available */ Globals.bClientPlaintextAuth = True; /* Do use a plaintext password if is requested by the server */ -- cgit