diff options
-rw-r--r-- | docs-xml/smbdotconf/winbind/idmapcachetime.xml | 2 | ||||
-rw-r--r-- | source3/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..55ead617e20 100644 --- a/docs-xml/smbdotconf/winbind/idmapcachetime.xml +++ b/docs-xml/smbdotconf/winbind/idmapcachetime.xml @@ -9,5 +9,5 @@ </para> </description> -<value type="default">900</value> +<value type="default">604800 (i.e. 1 week)</value> </samba:parameter> diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index b2cbbf1671f..c529948cc9a 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; |