Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More helpful error when Pulse server asks for TNCC
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
dwmw2 committed Apr 8, 2020
1 parent 8b83e37 commit 9ec9c86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pulse.c
Expand Up @@ -1814,6 +1814,12 @@ static int pulse_authenticate(struct openconnect_info *vpninfo, int connecting)
}
break;

case 3: /* TNCC */
vpn_progress(vpninfo, PRG_ERR,
_("Pulse server requested Host Checker; not yet supported\n"
"Try Juniper mode (--protocol=nc)\n"));
goto bad_eap;

default:
goto auth_unknown;
}
Expand Down
1 change: 1 addition & 0 deletions www/changelog.xml
Expand Up @@ -16,6 +16,7 @@
<li><b>OpenConnect HEAD</b>
<ul>
<li>Add bash completion support.</li>
<li>Give more helpful error in case of Pulse servers asking for TNCC.</li>
</ul><br/>
</li>
<li><b><a href="ftp://ftp.infradead.org/pub/openconnect/openconnect-8.08.tar.gz">OpenConnect v8.08</a></b>
Expand Down

0 comments on commit 9ec9c86

Please sign in to comment.