summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/index.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The ber_* namespace is used by liblber since time immemorial,tb2019-10-241-3/+3
| | | | | | | | | | | | so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
* avoid passing NULL to asprintf(3) when there's no parent dn entrygsoares2018-06-281-1/+2
| | | | OK jca@
* 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@
* bzero -> memset. No binary change.mmcc2015-12-241-6/+6
|
* Do not assume that asprintf() clears the pointer on failure, whichmillert2015-06-031-2/+6
| | | | | is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@
* Unbreak re-indexing by checking if an index entry already exists.martinh2010-11-261-3/+3
|
* Unbreak removal of one-level search index.martinh2010-06-261-31/+36
|
* Set errno to appropriate values when returning failure in btree. Make btreemartinh2010-06-231-3/+4
| | | | | functions only return success or failure (-1 or NULL). Update callers to check errno.
* Remove compaction and indexing from ldapd. It is better done by a separatemartinh2010-06-231-145/+3
| | | | process now that the btree can pick up the changes automatically.
* Track changes in btree_txn_* API, pass a NULL btree when also passing amartinh2010-06-111-5/+6
| | | | transaction.
* Fix compilation on gcc2. Check a return value from malloc while at it.martinh2010-06-031-2/+2
| | | | "that compiles!" deraadt@
* Remove trailing whitespace and spaces before tabs.martinh2010-05-311-2/+2
| | | | ok gilles@
* Initial import of ldapd, a small LDAP daemon. Work in progress.martinh2010-05-311-0/+491
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@