UPDATE:

When updateing openldap you should first create a backup of all your data with
slapcat, like:

  slapcat -l backup.ldif

Then you upgrade openldap and restore your data with slapadd:

  slapadd -l backup.ldif
