The "easy" fix is here
I haven't committed it (needs some polishing) because it touches
slapo-chain(5) in a couple of places, and I'd rather be sure it does not
break anything. I won't be able to work at it for a while. It needs some
polishing (SASL attributes that may need dontUseCopy should be at least
configurable and so).