]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Increase the default positive idmap cache time to a week
authorVolker Lendecke <vl@sernet.de>
Fri, 15 Aug 2008 16:24:09 +0000 (18:24 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 26 Aug 2008 20:01:11 +0000 (13:01 -0700)
docs-xml/smbdotconf/winbind/idmapcachetime.xml
source/param/loadparm.c

index 1636cdfa58e743e1062dbd5424921e04eed5f521..ba526100fc3c8de56145a93e60b69b984b9895f8 100644 (file)
@@ -9,5 +9,5 @@
        </para>
 </description>
 
-<value type="default">900</value>
+<value type="default">604800 (one week)</value>
 </samba:parameter>
index 84c2c7fc59a925d8d0a5511e6794ab20823f55ae..fbcc26a81d686c3914dc723a43db41f30db494c7 100644 (file)
@@ -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;