summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/control.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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@