Bug
Upgrading Zimbra LDAP replica or multi-master replication (MMR) node from 8.0.x to 8.0.3 may fail with the following error:
Code:
Thu Mar 14 14:51:42 2013 Loading database...
Thu Mar 14 14:51:42 2013 *** Running as zimbra user:
/opt/zimbra/libexec/zmslapadd /opt/zimbra/data/ldap/ldap.bak
/opt/zimbra/libexec/zmslapadd: line 17: ulimit: core file size: cannot modify
limit: Operation not permitted
51422a4f slapadd: warning, missing attrs entryUUID,entryCSN from entry dn=""
51422a4f <= str2entry: str2ad(ZIMBRAMOBILEMETADATAMAXSIZEENABLED): AttributeDescription contains inappropriate characters
slapadd: could not parse entry (line=259)
Thu Mar 14 14:51:43 2013 slapadd import failed.
Thu Mar 14 14:51:43 2013 UPGRADE FAILED - exiting.
https://bugzilla.zimbra.com/show_bug.cgi?id=81048

Workaround

For 8.0.x to 8.0.3 upgrades, install the 8.0.3 Zimbra LDAP schema file on replica(s) prior to starting the upgrade to 8.0.3. For MMR nodes, install the 8.0.3 schema file on all masters before selecting one to start upgrading. ZCS 7 to ZCS 8 upgrades are not affected.

On the replicas and/or MMR nodes (user zimbra):
  1. ldap stop
  2. curl http://bugzilla.zimbra.com/attachment.cgi?id=48155 | gunzip > /tmp/cn={4}zimbra.ldif
  3. cd /opt/zimbra/data/ldap/config/cn=config/cn=schema
  4. mv cn\=\{4\}zimbra.ldif /opt/zimbra/data/ldap/cn\=\{4\}zimbra.ldif.dead
  5. mv /tmp/cn\=\{4\}zimbra.ldif .
  6. ldap start
  7. Start master LDAP upgrade.

Post-master upgrade

If the master has already been upgraded without either workaround applied, the replica will need to be recovered prior to upgrading the replica (or after the upgrade has failed).

On the replica (user zimbra):
  1. ldap stop
  2. curl http://bugzilla.zimbra.com/attachment.cgi?id=48155 | gunzip > /tmp/cn={4}zimbra.ldif
  3. cd /opt/zimbra/data/ldap/config/cn=config/cn=schema
  4. mv cn\=\{4\}zimbra.ldif /opt/zimbra/data/ldap/cn\=\{4\}zimbra.ldif.dead
  5. mv /tmp/cn\=\{4\}zimbra.ldif .
  6. Reload the replica's DB using the MDB copy method in Importing LDAP data from provider to replica - Zimbra :: Wiki
  7. ~zimbra/libexec/zmslapcat /opt/zimbra/data/ldap
  8. ldap start

As root:
/opt/zimbra/libexec/zmsetup.pl

Fix
Zimbra bug 81048 will be fixed for the ZCS 8.0.4 release.