[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4

restart-secldapclntd Command

Purpose

The restart-secldapclntd script is used to stop the currently running secldapclntd daemon process and then restart it.

Syntax

/usr/sbin/restart-secldapclntd [ -C CacheSize ] [ -p NumOfThread ] [ -t CacheTimeOut ] [ -T HeartBeatIntv ]

Description

The restart-secldapclntd script stops the secldapclntd daemon if it is running, and then restarts it. If the secldapclntd daemon is not running, it simply starts it.

Flags

By default, the secldapclntd daemon reads the configuration information specified in the /etc/security/ldap/ldap.cfg file at startup. If the following options are given in command line when starting secldapclntd process, the options from the command line will overwrite the values in the /etc/security/ldap/ldap.cfg file.

-C CacheSize Sets the maximum cache entries used by the secldapclntd daemon to CacheSize number of entries. Valid range is 100-10,000 entries for user cache. The default is 1000. The group cache entries will be 10% of the user cache entries.
-p NumOfThread Sets the number of thread used by the secldapclntd daemon to NumOfThread threads. Valid range is 1-1000. The default is 10.
-t CacheTimeout Sets the cache to expire in CacheTimeout seconds. Valid range is 60- 3600 seconds. The default is 300 seconds.
-T HeartBeatIntv Sets the time interval of heartbeat between this client and the LDAP server. Valid values are 60-3,600 seconds. Default is 300.

Examples

  1. To restart the secldapclntd daemon, type:
    /usr/sbin/restart-secldapclntd
  2. To restart the secldapclntd with using 30 threads and cache timeout value of 500 seconds, type:
    /usr/sbin/restart-secldapclntd -p 30 -t 500

Files

/etc/security/ldap/ldap.cfg Contains information needed by the secldapclntd daemon to connect to the server.

Related Information

The secldapclntd daemon

The mksecldap, stop-secldapclntd, start-secldapclntd, ls-secldapclntd, and flush-secldapclntd commands.

The /etc/security/ldap/ldap.cfg file.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]