A patch is available here <ftp://ftp.openldap.org/incoming/pierangelo-masarati-2010-05-25-add-if-not-present.patch> p.