1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke

<bj@sernet.de>

Volker
This commit is contained in:
Volker Lendecke 2006-11-21 13:42:31 +00:00 committed by Gerald (Jerry) Carter
parent c1083216c8
commit b32c8356f7

View File

@ -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 */