(ITS#6326) back-ldap may leak when building entry with undef objectClass