Hopefully nobody else than me has wasted his/her time reviewing my previously submitted patches related to this ITS. They are completely wrong!
Here you'll find a rewritten version from scratch which should work as expected or at least can be taken as a basis for further reviewing:
ftp://ftp.openldap.org/incoming/Daniel-Pluta-110424-2.patch