summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2008-08-15 18:24:09 +0200
committerJeremy Allison <jra@samba.org>2008-08-26 13:01:11 -0700
commitc529cd153fe7eaffa194362cf338cfa2e8d3af0d (patch)
treeaf0e8ab0a1d40b233f62985848da43cc0363bb28 /source3/param
parent13c66c8eb18629801da479a65dcf5bbd62f09bb9 (diff)
downloadsamba-c529cd153fe7eaffa194362cf338cfa2e8d3af0d.tar.gz
samba-c529cd153fe7eaffa194362cf338cfa2e8d3af0d.tar.bz2
samba-c529cd153fe7eaffa194362cf338cfa2e8d3af0d.zip
Increase the default positive idmap cache time to a week
(This used to be commit 60af63675063ad62c0169b9f2094ecfdaa7ca16d)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 84c2c7fc59..fbcc26a81d 100644
--- a/source3/param/loadparm.c
+++ b/source3/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;