With HDB_ERR_WRONG_REALM the backend needs to expose the principal, so we should not free the entry otherwise the main kdc code will crash. Signed-off-by: Stefan Metzmacher <metze@samba.org>