<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Apéndice Z. Archivo de configuración /etc/nscd.conf</title><link rel="stylesheet" href="./estilo.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.64.1" /><link rel="home" href="index.html" title="Integración de redes con OpenLDAP, Samba, CUPS y PyKota" /><link rel="up" href="apendice-archivos-configuracion.html" title="Parte VI. Archivos de configuración" /><link rel="previous" href="openldap-pam-common-session.html" title="Apéndice Y. Archivo de configuración /etc/pamd.d/common-session" /><link rel="next" href="samba-etc-default-samba.html" title="Apéndice AA. Archivo de configuración /etc/default/samba" /><meta xmlns="http://www.w3.org/TR/xhtml1/transitional" name="generator" content="Experimental LDP.XSL $Revision: 1.3 $"></meta>
  <!-- Generated by LDP XSLT customization layer
      based on Norman Walsh's DocBook XSL stylesheets.
      More information at http://www.linuxdoc.org/ -->
  </head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apéndice Z. Archivo de configuración /etc/nscd.conf</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="openldap-pam-common-session.html">Anterior</a> </td><th width="60%" align="center">Parte VI. Archivos de configuración</th><td width="20%" align="right"> <a accesskey="n" href="samba-etc-default-samba.html">Siguiente</a></td></tr></table><hr /></div><div class="appendix" lang="es" xml:lang="es"><div class="titlepage"><div><div><h2 class="title"><a id="openldap-nscd_conf"></a>Apéndice Z. Archivo de configuración <tt class="filename">/etc/nscd.conf</tt></h2></div></div><div></div></div><table xmlns="http://www.w3.org/TR/xhtml1/transitional" border="0" bgcolor="#E0E0E0" width="90%"><tr><td><pre class="programlisting">#
# /etc/nscd.conf
#
::# An example Name Service Cache config file.  This file is needed by nscd.
#
# Legal entries are:
#
#	logfile         &lt;file&gt;
#	debug-level     &lt;level&gt;
#	threads         &lt;#threads to use&gt;
#	server-user     &lt;user to run server as instead of root&gt;
#                   server-user is ignored if nscd is started with -S parameters
#   stat-user       &lt;user who is allowed to request statistics&gt;
#
#   enable-cache            &lt;service&gt; &lt;yes|no&gt;
#	positive-time-to-live   &lt;service&gt; &lt;time in seconds&gt;
#	negative-time-to-live   &lt;service&gt; &lt;time in seconds&gt;
#   suggested-size          &lt;service&gt; &lt;prime number&gt;
#	check-files             &lt;service&gt; &lt;yes|no&gt;
#
# Currently supported cache names (services): passwd, group, hosts
#


    logfile         /var/log/nscd.log
#   threads         6
    server-user     nscd
#   stat-user       somebody
    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</pre></td></tr></table></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="openldap-pam-common-session.html">Anterior</a> </td><td width="20%" align="center"><a accesskey="u" href="apendice-archivos-configuracion.html">Subir</a></td><td width="40%" align="right"> <a accesskey="n" href="samba-etc-default-samba.html">Siguiente</a></td></tr><tr><td width="40%" align="left" valign="top">Apéndice Y. Archivo de configuración /etc/pamd.d/common-session </td><td width="20%" align="center"><a accesskey="h" href="index.html">Inicio</a></td><td width="40%" align="right" valign="top"> Apéndice AA. Archivo de configuración /etc/default/samba</td></tr></table></div></body></html>
