50b7d1c
Document max-db-size and auto-propagate in nscd.conf.
50b7d1c
50b7d1c
The code for nscd is available at:
50b7d1c
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/?cvsroot=glibc
50b7d1c
50b7d1c
The two new options are used in the default nscd.conf, introduced in
50b7d1c
revisions 1.11 and 1.12.  See:
50b7d1c
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/nscd.conf.diff?r1=1.10&r2=1.12&cvsroot=glibc
50b7d1c
50b7d1c
See also the parser code for `nscd.conf', in `nscd/nscd_conf.c'.
50b7d1c
To see how the max-db-size is used, grep `nscd/mem.c' for
50b7d1c
`max_db_size'.
50b7d1c
To se the actual usage of `auto-propagate', grep `nscd/pwdcache.c' and
50b7d1c
`nscd/grpcache.c' for `propagate'.
50b7d1c
50b7d1c
A news entry where Ulrich Drepper announces the `auto-propagate'
50b7d1c
option:
50b7d1c
http://sourceware.org/ml/libc-alpha/2006-09/msg00065.html
50b7d1c
b3d0140
b3d0140
diff -urpN man-pages-2.51.orig/man5/nscd.conf.5 man-pages-2.51/man5/nscd.conf.5
b3d0140
--- man-pages-2.51.orig/man5/nscd.conf.5	2007-05-11 20:38:22.000000000 +0200
b3d0140
+++ man-pages-2.51/man5/nscd.conf.5	2007-06-04 13:51:49.000000000 +0200
b3d0140
@@ -183,6 +183,25 @@ is shared with the clients so
b3d0140
 that they can directly search in them instead of having to ask the
b3d0140
 daemon over the socket each time a lookup is performed.
b3d0140
 .RE
b3d0140
+
b3d0140
+.B max-db-size
b3d0140
+.I service
b3d0140
+.I number-of-bytes
b3d0140
+.RS
b3d0140
+The maximum allowable size for the service.
b3d0140
+.RE
b3d0140
+
b3d0140
+.B auto-propagate
b3d0140
+.I service
b3d0140
+.I <yes|no>
b3d0140
+.RS
b3d0140
+When set to
b3d0140
+.IR no " for " passwd " or " group " service, then the " .byname
b3d0140
+requests are not added to 
b3d0140
+.IR passwd.byuid " or " group.bygid
b3d0140
+cache.
b3d0140
+This may help for tables containing multiple records for the same id.
b3d0140
+.RE
b3d0140
 .SH "SEE ALSO"
b3d0140
 .BR nscd (8)
b3d0140
 .SH AUTHOR