From b32c8356f783e0919f29b452be9417d7ff59b5bc 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 --- source/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/param') diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 5e39544420d..81c642daf8b 100644 --- a/source/param/loadparm.c +++ b/source/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 v1.2.1