From 0365508e1d4c9942f1653b214e717c74a4b9f356 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Aug 2008 18:24:09 +0200 Subject: [PATCH] Increase the default positive idmap cache time to a week (cherry picked from commit 5caabdf64ea3d8ff0ff997a565b7708986c3d9d7) --- docs-xml/smbdotconf/winbind/idmapcachetime.xml | 2 +- source/param/loadparm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-xml/smbdotconf/winbind/idmapcachetime.xml b/docs-xml/smbdotconf/winbind/idmapcachetime.xml index 1636cdfa58e..ba526100fc3 100644 --- a/docs-xml/smbdotconf/winbind/idmapcachetime.xml +++ b/docs-xml/smbdotconf/winbind/idmapcachetime.xml @@ -9,5 +9,5 @@ -900 +604800 (one week) diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 84c2c7fc59a..fbcc26a81d6 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -4850,7 +4850,7 @@ static void init_globals(bool first_time_only) Globals.bWinbindRefreshTickets = False; Globals.bWinbindOfflineLogon = False; - Globals.iIdmapCacheTime = 900; /* 15 minutes by default */ + Globals.iIdmapCacheTime = 86400 * 7; /* a week by default */ Globals.iIdmapNegativeCacheTime = 120; /* 2 minutes by default */ Globals.bPassdbExpandExplicit = False; -- 2.11.4.GIT