On Mon, 2022-01-03 at 20:08 +0100, Antonio wrote:
> Dear maintainer,
> I tried the updated version of OpenConnect.
> 
> ---
> 
>  From GNOME interface:
> 
> - When the VPN is active, the form for the insertion of username and 
> password appears.
> - Provide access credentials I receive notification from Microsoft 
> Authenticator
> - confirmed identity via authenticator, the "remain connected" form 
> appears and I reply "yes"
> 
> The page is then shown:
> 
> "Cisco AnyConnect Secure Mobility Client"
> "You have successfully authenticated. You may now close this browser
> tab"
> 
> Now the VPN should be active but if I try from terminal or browser I 
> can't access the VPN network, despite successfully executed all the
> steps.
> 
> If I close the browser page, as indicated, the network menu indicates
> that the VPN is off.
> 
> Or rather, I think it's never started.
> 
> Journal reports: "Final Secrets Request Failed to Provide Sufficient 
> Secrets"

Strange - but not unexpected, these VPNs are terrible. I have reports
of users with AnyConnect and other SAML providers working fine with the
latest version.
There also was an unfixed issue with some newer AnyConnect servers that
was fixed with yesterday's upload, try and have a look if that makes a
difference.

If it doesn't, it sounds like you need to debug it to figure out where
it's going wrong - you can run the auth dialog in gdb and walkthrough
the code as such:

- install network-manager-openconnect-dbgsym network-manager-
openconnect-gnome-dbgsym openconnect-dbgsym libopenconnect5
-dbgsym
- create a local script somewhere with something like:

#!/bin/bash
gdbserver localhost:12345 /usr/lib/NetworkManager/nm-openconnect-auth-dialog $@

- edit temporarily /usr/lib/NetworkManager/VPN/nm-openconnect-
service.name and change auth-dialog to point to the script above

Then you'll be able to connect with gdb and debug as usual after
activating the VPN via the Gnome GUI.

> ---
> 
>  From KDE interface:
> 
> - same configuration
> 
> - I can now select correct AUTHGROUP
> 
> However, when I click on the "Access" button, the form does not
> appear 
> to insert the credentials.
> 
> Unlike the GNOME interface, the log log continues to report the
> message 
> "No SSO Handler".
> 
> Thank you,
> Antonio

As the message implies, KDE is not supported, nobody has done the work
to make it happen.

> 
> Il 31/12/21 01:34, Luca Boccassi ha scritto:
> > Control: tag -1 pending
> > 
> > Hello,
> > 
> > Bug #1001555 in openconnect reported by you has been fixed in the
> > Git repository and is awaiting an upload. You can see the commit
> > message below and you can check the diff of the fix at:
> > 
> > https://salsa.debian.org/debian/openconnect/-/commit/145c237a574d06f348d0147390f33b5993e5b52d
> > 
> > -------------------------------------------------------------------
> > -----
> > Update SAML patch
> > 
> > Correctly detect termination on Anyconnect + Google SAML.
> > Also restore backward compatibility for legacy CLI based workflow.
> > 
> > Closes: #1001555
> > 
> > Gbp-Dch: full
> > -------------------------------------------------------------------
> > -----
> > 
> > (this message was generated automatically)

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to