https://bugs.openldap.org/show_bug.cgi?id=10369
--- Comment #6 from Howard Chu hyc@openldap.org --- Tempted to make this a WONTFIX. The LDIF input has obviously been edited by hand, making it invalid for slapadd.
I've written a fix for this, but the error message from slapadd is:
../../../servers/slapd/slapd -Ta -F slapd.d -n0 -l cfg1.ldif Entry (olcDatabase={1}mdb,cn=config), attribute 'olcMultiProvider' cannot have multiple values slapadd: dn="olcDatabase={1}mdb,cn=config" (line=1737): (19) attribute 'olcMultiProvider' cannot have multiple values Closing DB...
Which would be misleading because the input uses olcMirrorMode. There's no obvious way to show that the two values come from an alternate attribute name, and the alternate name is actually gone by the time we detect the schema violation.