private Identity getIdentityByName(LdapAccount acct, String name,  DirContext ctxt) throws ServiceException {
private Identity getIdentityByName(LdapEntry entry, String name,  DirContext ctxt) throws ServiceException {
    private Identity getIdentityByName(LdapAccount acct, String name,  DirContext ctxt) throws ServiceException {        //zimbraId = LdapUtil.escapeSearchFilterArg(zimbraId);        List<Identity> result = getIdentitiesByQuery(acct, "(&(zimbraPrefIdentityName="+name+")(objectclass=zimbraIdentity))", ctxt);         return result.isEmpty() ? null : result.get(0);    }