Le 11/05/2015 17:17, Mike Miller a écrit : > Control: tags -1 + moreinfo > > On Mon, May 11, 2015 at 13:17:29 +0200, Erwan David wrote: >> When trying to connect through openconnect and networkmanager >> >> 1) network-manager does not ask for password, I immediately get an error >> Necessary secrets for the VPN connection were not provided. >> >> 2) in the logs I see >> May 11 11:53:31 erdavid-lt NetworkManager[795]: (NetworkManager:795): >> libnm-util-CRITICAL **: get_secret_flags: assertion 'is_secret_prop >> (setting, secret_name, error)' failed >> May 11 11:53:32 erdavid-lt NetworkManager[795]: <error> [1431338012.235800] >> [vpn-manager/nm-vpn-connection.c:1721] plugin_need_secrets_cb(): >> (dd464b6b-5c9f-4cd4-9915-3d339a3f8e14/DMZ Paris) final secrets request >> failed to provide sufficient secrets >> >> >> Thus it is impossible to use network-manager for an openconect/anyconnect >> VPN. > Hi, thanks for your bug report. > > I think the error message you are seeing typically means that some VPN > configuration parameter might be missing. > > Can you reply with the contents of your VPN configuration file > (probably /etc/NetworkManager/system-connections/DMZ Paris)? Please > replace any private information (host names, keys, passwords, etc) > before sending. > > How did you configure the VPN with NetworkManager? Did you import some > configuration file, use nm-connection-editor or other GUI frontend, or > write the file yourself? > > What desktop environment are you using with NetworkManager? Or > command-line nmtui or nmcli? >
Ok, here is the config file [connection] id=DMZ Paris uuid=dd464b6b-5c9f-4cd4-9915-3d339a3f8e14 type=vpn permissions=user:erdavid:; [vpn] service-type=org.freedesktop.NetworkManager.openconnect gateway=my-gateway.domain pem_passphrase_fsid=no gwcert-flags=2 gateway-flags=2 cookie-flags=2 enable_csd_trojan=yes [vpn-secrets] autoconnect=no [ipv6] method=auto [ipv4] method=auto I use KDE as desktop, the problem is the same using the KDE applet, nmcli and nmtui. Whatever I use I get the attached window (with gateway name blurred) There seems to be something between the "automatically connect" and "view logs" line. Maybe the bug is there ?