slapd

The slapd daemon is the directory server daemon. It listens for LDAP connections on port 389, responding to the LDAP operations it receives over these connections. slapd is typically invoked at boot time, usually out of /etc/rc.local. Upon startup, slapd normally forks and dissociates itself from the invoking tty. If the -d flag is specified, and debugging is set to a non-zero value, slapd does not fork and dissociates from the invoking tty.

The slapd daemon can be configured to provide replicated service for a data store, in conjunction with slurpd, the directory server update replication daemon. See "slurpd" for details.


Syntax

 
slapd [ -d debuglevel ] [ -f slapd-config- file ] [ -n number-of-connections ]\
[ -p port-number ] [ -s syslog-level ] [ -i ]
 

The parameters for this command are:

-i  

This option tells slapd that it is being run from inetd, the Internet protocol daemon.  

-d debuglevel  

Turn on debugging as defined by debuglevel. If this option is specified, slapd does not fork or dissociate from the invoking terminal. Some general operation and status messages are printed for any value of debuglevel. debuglevel is taken as a bit string, with each bit corresponding to a different kind of debugging information.  

-f slapd-config-file  

Specifies the slapd configuration file. The default is
/etc/opt/SUNWconn/ldap/current/slapd.conf.  

-n number-of-connections  

Specifies the maximum number of simultaneous connections the daemon can handle. The default is 256.  

-p port-number  

slapd listens on the default LDAP port (389) unless this option is used to specify a different port.  

-s syslog-level  

This option tells slapd at what level information should be logged to the syslog facility. You can request any combination of the following levels:

  • 1 - Trace
  • 2 - Packets
  • 4 - Arguments
  • 8 - Connections
  • 16 - BER
  • 32 - Filters
  • 64 - Configuration
  • 128 - Access control
  • 256 - Statistics (summary level)
  • 512 - Statistics (detailed level)
  • 1024 - Shell
  • 2048 - Parse
  • 65535 - All information
  • To request more than one category of debugging information, add the masks. For example, to request trace and filter information, specify a syslog-level of 33.  




    Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.