Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy
Fix pointer incompatibility issue on some platforms

Don't assume tv_sec is a time_t.
closedir() replacement function should return a result

return success, ignoring result of FindClose
ITS#7965 mdb_dn2id

heap corruption due to returning a reference to a local variable
ITS#7967 fix abandon regression

From ITS#7712, avoid double-free of request
Fix a1e3b1cf3c5991ef550f608ee816e9274e547dda

copy/paste error
Fix typo in cancel config
lmdb: ITS#7974 oomkiller feature.
slapd: ITS#7974 oomkiller feature.
lmdb: ITS#7974 a reading lag for dreamcatcher.
slapd: ITS#7974 dreamcatcher feature.