Start new session for nscd, drop privilegs to configured user if requested
[kopensolaris-gnu/glibc.git] / nscd / nscd.conf
index 5d8c7f3..0e43da3 100644 (file)
@@ -6,25 +6,38 @@
 # Legal entries are:
 #
 #      logfile                 <file>
-#       enable-cache           <service> <yes|no>
 #      debug-level             <level>
+#      threads                 <#threads to use>
+#
+#       enable-cache           <service> <yes|no>
 #      positive-time-to-live   <service> <time in seconds>
 #      negative-time-to-live   <service> <time in seconds>
 #       suggested-size         <service> <prime number>
+#      check-files             <service> <yes|no>
 #
-# Currently supported cache names (services): passwd, group
+# Currently supported cache names (services): passwd, group, hosts
 #
 
 
-#      logfile                 /var/adm/nscd.log
-#      enable-cache            hosts           no
+#      logfile                 /var/log/nscd.log
+#      threads                 6
 
        debug-level             0
 
+       enable-cache            passwd          yes
        positive-time-to-live   passwd          600
        negative-time-to-live   passwd          20
        suggested-size          passwd          211
+       check-files             passwd          yes
 
+       enable-cache            group           yes
        positive-time-to-live   group           3600
        negative-time-to-live   group           60
        suggested-size          group           211
+       check-files             group           yes
+
+       enable-cache            hosts           yes
+       positive-time-to-live   hosts           3600
+       negative-time-to-live   hosts           20
+       suggested-size          hosts           211
+       check-files             hosts           yes