migrate attributes from ldap to ldb when upgrading