summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/control.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix format string errors in log messages and update ldapd to use relayd's log.creyk2018-05-151-2/+2
| | | | OK benno@ jmatthew@
* work on making log.c similar in all daemons:benno2017-01-201-1/+2
| | | | | | | move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok krw@ jmatthew@
* Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withkrw2017-01-091-4/+5
| | | | | | | | TAILQ_FOREACH(). No intentional functional change. ok reyk@
* Properly remove unix sockets (control & listening) upon exit of thelandry2016-01-171-2/+1
| | | | | | | | | | parent process. Child process was killed by pledge because it tried to remove the control socket and didnt have cpath - anyway it couldnt remove it since it had chrooted.. ok jmatthew@ deraadt@
* bzero -> memset. No binary change.mmcc2015-12-241-3/+3
|
* use SOCK_NONBLOCK instead of fcntljmatthew2015-11-021-5/+2
| | | | ok dlg@
* change to <limits.h> universe. The only changes in the binary are duederaadt2015-01-161-2/+1
| | | | | to the heavy use of assert. ok millert
* bunch of format string cleanups, removing %i, signed vs unsigned, and evenderaadt2013-11-021-4/+4
| | | | | a few long long's ok jmatthew
* Protect against fd exhaustion when reopening database files. Only acceptjmatthew2012-06-161-4/+25
| | | | | | | | client or control connections when there are at least 8 fds available, and close a connection before calling imsg_read if it would be unable to accept an fd from the parent process. ok gilles@
* rate limiting of accept() in various cases. Testing by jmatthew. therederaadt2012-04-111-7/+30
| | | | | maybe still be a corner case where it needs one more file descriptor beyond the limit..
* Move generic imsg/libevent glue to a separate file.martinh2010-09-011-83/+36
| | | | with eric@ at c2k10
* Send empty statistics rather than segfault if "ldapctl stats" is run when amartinh2010-07-061-5/+6
| | | | database is being reopened due to compaction.
* Don't send statistics for referral namespaces. This unbreaks ldapctl stats.martinh2010-06-301-1/+3
| | | | Avoid null pointer dereference when reopening a namespace.
* Remove unused code.martinh2010-06-271-26/+2
|
* Remove compaction and indexing from ldapd. It is better done by a separatemartinh2010-06-231-62/+1
| | | | process now that the btree can pick up the changes automatically.
* Initial import of ldapd, a small LDAP daemon. Work in progress.martinh2010-05-311-0/+379
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@