From 797ed6f7e17732cb207293d406d6cf14336f5de0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Apr 2006 17:32:10 +0000 Subject: * nscd/nscd.h (struct database_dyn): Add propagate field. * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines. * nscd/nscd.conf: Add auto-propagate lines. * nscd/connections.c (dbs): Initialize .propagate fields. * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups and vice versa if propagation is disabled for the database. * nscd/pwdcache.c (cache_addpw): Likewise. --- nscd/nscd.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nscd/nscd.conf') diff --git a/nscd/nscd.conf b/nscd/nscd.conf index 9491e16..289eb2e 100644 --- a/nscd/nscd.conf +++ b/nscd/nscd.conf @@ -23,7 +23,8 @@ # check-files # persistent # shared -# max-db-szie +# max-db-size +* auto-propagate # # Currently supported cache names (services): passwd, group, hosts # @@ -47,6 +48,7 @@ persistent passwd yes shared passwd yes max-db-size passwd 33554432 + auto-propagate passwd yes enable-cache group yes positive-time-to-live group 3600 @@ -56,6 +58,7 @@ persistent group yes shared group yes max-db-size group 33554432 + auto-propagate group yes enable-cache hosts yes positive-time-to-live hosts 3600 -- cgit v1.1