Full_Name: Howard Chu
Submission from: (NULL) (220.127.116.11)
Submitted by: hyc
entry_header() rejects "entries" that have zero attributes. As it turns out,
overlays like pcache and translucent can create such entries in their normal
operation. With back-bdb/hdb, such entries will work OK while slapd is running,
because they're in the entry cache. But after a restart, such entries can't be
read back from the DB because they're considered invalid by entry_header().
Already fixed in master, entry_header() now allows zero length entries.