summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-03 21:03:58 +0200
committerVolker Lendecke <vl@samba.org>2008-07-03 21:19:09 +0200
commit5515c0e81c064863c7c56d12b4ae82b8f3455f34 (patch)
tree14f482aa6fb5a1b4fb872db3190b94d5a76024d3 /source3
parent9c7e12d9f7c925402163d568539a753ce60571c3 (diff)
downloadsamba-5515c0e81c064863c7c56d12b4ae82b8f3455f34.tar.gz
samba-5515c0e81c064863c7c56d12b4ae82b8f3455f34.tar.bz2
samba-5515c0e81c064863c7c56d12b4ae82b8f3455f34.zip
Slightly increase the default idmap cache time
(This used to be commit 448836d44d0468a74b962ba3c0b7d51de236374f)
Diffstat (limited to 'source3')
-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 b2cbbf1671..c529948cc9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4827,7 +4827,7 @@ static void init_globals(bool first_time_only)
Globals.bWinbindRefreshTickets = False;
Globals.bWinbindOfflineLogon = False;
- Globals.iIdmapCacheTime = 900; /* 15 minutes by default */
+ Globals.iIdmapCacheTime = 7 * 24 * 3600; /* 1 week by default */
Globals.iIdmapNegativeCacheTime = 120; /* 2 minutes by default */
Globals.bPassdbExpandExplicit = False;