LDAPCTL(8)
System Manager's Manual
LDAPCTL(8)
NAME
ldapctl —
control the LDAP daemon
SYNOPSIS
ldapctl |
[-v] [-f
file] [-r
directory] [-s
socket] command
[argument ...] |
DESCRIPTION
The ldapctl program controls the
ldapd(8) daemon.
The options are as follows:
-ffile- Use file as the configuration file, instead of the default /etc/ldapd.conf.
-rdirectory- Store and read database files in directory, instead of the default /var/db/ldap.
-ssocket- Use socket instead of the default /var/run/ldapd.sock to communicate with ldapd(8).
-v- Produce more verbose output.
The commands are as follows:
stats- Show statistics counters.
log brief- Disable verbose debug logging.
log verbose- Enable verbose debug logging.
compact- Compact all databases. ldapd(8) does not have to be running. When compaction of a database file is complete, a special marker is appended to the database file that tells ldapd(8) to reopen the file and perform new requests against the compacted database. A write transaction is opened to force other processes to buffer write requests while performing compaction. Read requests are handled without disruption.
index- Re-index all databases. ldapd(8) does not have to be running.
FILES
- /var/run/ldapd.sock
- default
ldapctlcontrol socket - /etc/ldapd.conf
- default ldapd(8) configuration file
SEE ALSO
HISTORY
The ldapctl program first appeared in
OpenBSD 4.8.
OpenBSD 7.8 March
2, 2023 LDAPCTL(8)