diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-21 13:42:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:59 -0500 |
commit | eb96dddb281e5a6c69b12b05a8dda35b0e7f6de1 (patch) | |
tree | 06fa4589fd59a3f81835767a4cb9846edef293d5 | |
parent | ead21a53ae51e9cff726e4901c49fe5109734ad6 (diff) | |
download | samba-eb96dddb281e5a6c69b12b05a8dda35b0e7f6de1.tar.gz samba-eb96dddb281e5a6c69b12b05a8dda35b0e7f6de1.tar.bz2 samba-eb96dddb281e5a6c69b12b05a8dda35b0e7f6de1.zip |
r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>
Volker
(This used to be commit b32c8356f783e0919f29b452be9417d7ff59b5bc)
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |