Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ldapcd.conf(4) [osf1 man page]

ldapcd.conf(4)						     Kernel Interfaces Manual						    ldapcd.conf(4)

NAME
ldapcd.conf - Configuration file for the single sign-on daemon. SYNOPSIS
# comment_string parameter: integer identifier: string identifier: "quoted_string,quoted_string,..." DESCRIPTION
The ldapcd.conf file stores the current configuration of the Windows 2000 Single Sign-on daemon (SSO). The information stored in the file is specified when you configure Windows 2000 Single Sign-on and is not normally changed. The ldapcd.conf file also contains the default operating parameters for the daemon which you can tune for performance. You might need to tune performance if users wait a long period of time for the UNIX server system to respond. To tune the Windows 2000 SSO software, use a text editor to modify the values of the caching parameters as follows: The number of open con- nections that the caching daemon makes to the active directory. Increasing the value of this entry opens more connections to the active directory, however this consumes more file descriptors and increases the load on the active directory. Typically, 4 connections are ade- quate for a workstation and 15 connections are adequate for a server. Default: 4 connections The maximum number of user entries to store in cache. Increase or decrease this value as the maximum number of users increases or decreases. Default: 500 entries The maximum number of seconds to cache a user entry. Increasing this value increases performance because a user's entry is readily available in the cache. If you delete a recently used user account, its entry remains in the cache for the amount of time specified by this parameter. Default: 900 seconds. The maximum number of group IDs to cache. Increasing this value increases performance because group IDs are readily available in the cache. Default: 100 group IDs The maximum number of seconds to cache group IDs. Default: 900 seconds Using a Revised Configuration If you change the value of a cache parameter in the /etc/ldapcd.conf file, you must enter the following command to read the new configura- tion and restart the daemon: # /sbin/init.d/ldapw2k restart EXAMPLES
The following example shows a typical configuration file: # connections: 4 pw_cachesize: 500 pw_expirecache: 900 gr_cachesize: 100 gr_expirecache: 900 usesasl: 1 directory: server1 searchbase: "cn=users,DC=SSO,DC=TWOTEN,DC=COM" machine_acctname: emera.ggg.bbb.com machine_dn: "cn=emera,cn=comput- ers,DC=SSO,DC=TWOTEN,DC=COM" FILES
Location of the file. RELATED INFORMATION
Commands: ldapcd(8), lw2ksetup(8) Windows 2000 Single Sign-On Installation and Administration Guide. delim off ldapcd.conf(4)

Check Out this Related Man Page

NSCD.CONF(5)						     Linux Programmer's Manual						      NSCD.CONF(5)

NAME
/etc/nscd.conf - name service cache daemon configuration file DESCRIPTION
The file /etc/nscd.conf is read from nscd(8) at startup. Each line specifies either an attribute and a value, or an attribute, service, and a value. Fields are separated either by SPACE or TAB characters. A '#' (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 passwd, group, hosts, services, or netgroup. logfile debug-file-name Specifies name of the file to which debug info should be written. debug-level value Sets the desired debug level. The default is 0. threads number This is the number of threads that are started to wait for requests. At least five threads will always be created. max-threads number Specifies the maximum number of threads. The default is 32. server-user user If this option is set, nscd will run as this user and not as root. If a separate cache for every user is used (-S parameter), this option is ignored. stat-user user Specifies the user who is allowed to request statistics. reload-count unlimited | number Limit on the number of times a cached entry gets reloaded without being used before it gets removed. The default is 5. paranoia <yes|no> Enabling paranoia mode causes nscd to restart itself periodically. The default is no. restart-interval time Sets the restart interval to time seconds if periodic restart is enabled by enabling paranoia mode. The default is 3600. enable-cache service <yes|no> Enables or disables the specified service cache. The default is no. positive-time-to-live service value Sets the TTL (time-to-live) for positive entries (successful queries) in the specified cache for service. Value is in seconds. Larger values increase cache hit rates and reduce mean response times, but increase problems with cache coherence. negative-time-to-live service value Sets the TTL (time-to-live) for negative entries (unsuccessful queries) in the specified cache for service. Value is in seconds. Can result in significant performance improvements if there are several files owned by UIDs (user IDs) not in system databases (for example untarring the Linux kernel sources as root); should be kept small to reduce cache coherency problems. suggested-size service value This is the internal hash table size, value should remain a prime number for optimum efficiency. The default is 211. check-files service <yes|no> Enables or disables checking the file belonging to the specified service for changes. The files are /etc/passwd, /etc/group, /etc/hosts, /etc/services and /etc/netgroup. The default is yes. persistent service <yes|no> Keep the content of the cache for service over server restarts; useful when paranoia mode is set. The default is no. shared service <yes|no> The memory mapping of the nscd databases for service 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. max-db-size service bytes The maximum allowable size, in bytes, of the database files for the service. The default is 33554432. auto-propagate service <yes|no> When set to no for passwd or group service, then the .byname requests are not added to passwd.byuid or 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 passwd and group. NOTES
The default values stated in this manual page originate from the source code of 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. SEE ALSO
nscd(8) GNU
2014-02-07 NSCD.CONF(5)
Man Page