summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/idmap/idmapd/idmap.xml8
-rw-r--r--usr/src/cmd/idmap/idmapd/idmap_config.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/cmd/idmap/idmapd/idmap.xml b/usr/src/cmd/idmap/idmapd/idmap.xml
index 87933b5507..1f051a2936 100644
--- a/usr/src/cmd/idmap/idmapd/idmap.xml
+++ b/usr/src/cmd/idmap/idmapd/idmap.xml
@@ -96,6 +96,14 @@
name='value_authorization'
type='astring'
value='solaris.smf.value.idmap' />
+ <propval
+ name='id_cache_timeout'
+ type='count'
+ value='86400' />
+ <propval
+ name='name_cache_timeout'
+ type='count'
+ value='604800' />
</property_group>
<property_group name='debug' type='application' >
diff --git a/usr/src/cmd/idmap/idmapd/idmap_config.c b/usr/src/cmd/idmap/idmapd/idmap_config.c
index 9060fa4179..02ae8029cf 100644
--- a/usr/src/cmd/idmap/idmapd/idmap_config.c
+++ b/usr/src/cmd/idmap/idmapd/idmap_config.c
@@ -56,8 +56,8 @@
* config/id_cache_timeout = count: seconds
* config/name_cache_timeout = count: seconds
*/
-#define ID_CACHE_TMO_DEFAULT 600
-#define NAME_CACHE_TMO_DEFAULT 3600
+#define ID_CACHE_TMO_DEFAULT 86400
+#define NAME_CACHE_TMO_DEFAULT 604800
enum event_type {
EVENT_NOTHING, /* Woke up for no good reason */