https://bugs.openldap.org/show_bug.cgi?id=9802
--- Comment #1 from Howard Chu hyc@openldap.org --- Unable to reproduce.
Using this modify LDIF, ldapmodify works fine.
### dn: olcMetaSub={0}uri,olcDatabase={1}meta,cn=config changetype: modify delete: olcDbRewrite olcDbRewrite: {5} - add: olcDbRewrite olcDbRewrite: {5}rewriteRule "^(.+uid=[^,]+)@domain.two.com(,.*)$" "${&&target("ou=mynetworkpeople,o=my.example.com")}$1$2" ":"
###