]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man5/nscd.conf.5
sock_diag.7: ffix: white space tweaks in example program
[thirdparty/man-pages.git] / man5 / nscd.conf.5
index 659919831eeb68e9a9f80f70aca84666efa6302a..42e045d5f9c19cabd517b3d5a7695fd58e1b06d8 100644 (file)
@@ -1,7 +1,7 @@
-.\" -*- nroff -*-
 .\" Copyright (c) 1999, 2000 SuSE GmbH Nuernberg, Germany
 .\" Author: Thorsten Kukuk <kukuk@suse.de>
 .\"
+.\" %%%LICENSE_START(GPLv2+_SW_3_PARA)
 .\" This program is free software; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of the
 .\" General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this program; see the file COPYING.  If not,
-.\" write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-.\" Boston, MA 02111-1307, USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
-.TH NSCD.CONF 5 1999-10-01 "GNU" "Linux Programmer's Manual"
+.TH NSCD.CONF 5 2014-02-07 "GNU" "Linux Programmer's Manual"
 .SH NAME
-/etc/nscd.conf \- name service cache daemon configuration file
+nscd.conf \- name service cache daemon configuration file
 .SH DESCRIPTION
 The file
 .I /etc/nscd.conf
@@ -34,7 +34,8 @@ A \(aq#\(aq (number sign) indicates the beginning of a
 comment; following characters, up to the end of the line,
 are not interpreted by nscd.
 
-Valid services are \fIpasswd\fP, \fIgroup\fP, or \fIhosts\fP.
+Valid services are \fIpasswd\fP, \fIgroup\fP, \fIhosts\fP, \fIservices\fP,
+or \fInetgroup\fP.
 
 .B logfile
 .I debug-file-name
@@ -46,6 +47,7 @@ Specifies name of the file to which debug info should be written.
 .I value
 .RS
 Sets the desired debug level.
+The default is 0.
 .RE
 
 .B threads
@@ -56,6 +58,13 @@ requests.
 At least five threads will always be created.
 .RE
 
+.B max-threads
+.I number
+.RS
+Specifies the maximum number of threads.
+The default is 32.
+.RE
+
 .B server-user
 .I user
 .RS
@@ -64,6 +73,40 @@ If a separate cache for every user is used (\-S parameter), this
 option is ignored.
 .RE
 
+.B stat-user
+.I user
+.RS
+Specifies the user who is allowed to request statistics.
+.RE
+
+.B reload-count
+unlimited |
+.I number
+.RS
+Limit on the number of times a cached entry gets reloaded without being used
+before it gets removed.
+The default is 5.
+.RE
+
+.B paranoia
+.I <yes|no>
+.RS
+Enabling paranoia mode causes nscd to restart itself periodically.
+The default is no.
+.RE
+
+.B restart-interval
+.I time
+.RS
+Sets the restart interval to
+.I time
+seconds
+if periodic restart is enabled by enabling
+.B paranoia
+mode.
+The default is 3600.
+.RE
+
 .B enable-cache
 .I service
 .I <yes|no>
@@ -71,6 +114,7 @@ option is ignored.
 Enables or disables the specified
 .I service
 cache.
+The default is no.
 .RE
 
 .B positive-time-to-live
@@ -108,6 +152,7 @@ to reduce cache coherency problems.
 This is the internal hash table size,
 .I value
 should remain a prime number for optimum efficiency.
+The default is 211.
 .RE
 
 .B check-files
@@ -120,46 +165,11 @@ for changes.
 The files are
 .IR /etc/passwd ,
 .IR /etc/group ,
+.IR /etc/hosts ,
+.I /etc/services
 and
-.IR /etc/hosts .
-.RE
-
-.B max-threads
-.I threads
-.RS
-Specifies the maximum number of threads to be started.
-.RE
-
-.B stat-user
-.I username
-.RS
-Specifies the user who is allowed to request statistics.
-.RE
-
-.B reload-count
-unlimited |
-.I number
-.RS
-Limit on the number of times a cached entry gets reloaded without being used
-before it gets removed.
-The default is 5.
-.RE
-
-.B paranoia
-.I <yes|no>
-.RS
-Enabling paranoia mode causes nscd to restart itself periodically.
-.RE
-
-.B restart-interval
-.I time
-.RS
-Sets the restart interval to
-.I time
-seconds
-if periodic restart is enabled by enabling
-.B paranoia
-mode.
+.IR /etc/netgroup .
+The default is yes.
 .RE
 
 .B persistent
@@ -171,6 +181,7 @@ Keep the content of the cache for
 over server restarts; useful when
 .B paranoia
 mode is set.
+The default is no.
 .RE
 
 .B shared
@@ -182,8 +193,50 @@ The memory mapping of the nscd databases for
 is shared with the clients so
 that they can directly search in them instead of having to ask the
 daemon over the socket each time a lookup is performed.
+The default is no.
 .RE
-.SH "SEE ALSO"
+
+.B max-db-size
+.I service
+.I bytes
+.RS
+The maximum allowable size, in bytes, of the database files for the
+.IR service .
+The default is 33554432.
+.RE
+
+.B auto-propagate
+.I service
+.I <yes|no>
+.RS
+When set to
+.IR no
+for
+.I passwd
+or
+.I group
+service, then the
+.I .byname
+requests are not added to
+.IR passwd.byuid
+or
+.I group.bygid
+cache.
+This can help with tables containing multiple records for the same ID.
+The default is yes.
+This option is valid only for services
+.IR passwd
+and
+.IR group .
+.RE
+.SH NOTES
+The default values stated in this manual page originate
+from the source code of
+.BR nscd (8)
+and are used if not overridden in the configuration file.
+The default values used in the configuration file of
+your distribution might differ.
+.SH SEE ALSO
 .BR nscd (8)
 .\" .SH AUTHOR
 .\" .B nscd