FS#62472 - [networkmanager-openconnect] group and username is not saved

Attached to Project: Arch Linux
Opened by Jonathan Eom (jonnyeom) - Thursday, 25 April 2019, 14:55 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 June 2023, 23:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
This used to work but no longer does.
When connecting to Anyconnect through openconnect, Group/Username credentials are not being saved.

Additional info:
* package version(s): networkmanager-openconnect 1.2.5dev+110+g524a2e0-2, openconnect 1:8.02-1, networkmanager 1.16.0-1

Steps to reproduce:
1. Configure a VPN Connection with Cisco Anyconnect or openconnect VPN Protocol
2. Choose Group, Enter Username/password, check password save dialog
3. disconnect and connect again.

Actual results:
group is not chosen in dialog
username is not shown in dialog but password is saved (Shown as bullets)
login failed is shown when you try to login without re-entering group/username.

Expected results:
group/username should also be saved.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 02 June 2023, 23:38 GMT
Reason for closing:  No response
Additional comments about closing:  Plus it's old and stale. If still an issue, please report upstream.
Comment by banshee (banshee) - Thursday, 02 May 2019, 21:28 GMT
I experience that behavior too. My package version(s): networkmanager-openconnect 1.2.5dev+110+g524a2e0-2, openconnect 1:8.02-1, networkmanager 1.18.0-1.
Comment by Jonathan Eom (jonnyeom) - Friday, 03 May 2019, 14:09 GMT
Comparing the nmconnection file with one on a machiene where group/username is properly saving, it looks like the any details in the [vpn-secrets] section is not being saved.
This includes
* `certificate`
* `form:main:group_list`
* `form:main:username`
* `save_passwords`

`lasthost` is being saved However. but that is about it.
Comment by ajytojen (ajytojen) - Tuesday, 17 September 2019, 12:54 GMT
In my case, group and username are saved but not the password. Although "Store passwords" is checked.

networkmanager 1.20.2-1
networkmanager-openconnect 1.2.6-1
openconnect 1:8.05-1
Comment by Jonathan Eom (jonnyeom) - Tuesday, 28 April 2020, 20:06 GMT
Just an update here, I am still experiencing this. Password is saved. (yay!) but the usernameGroup/username is not.

I am currently running version 1.2.6-1.
Comment by Benedikt Ti (benneti) - Wednesday, 01 July 2020, 13:01 GMT
It works as a workaround to manually edit the file in /etc/NetworkManager/system-connections/????.nmconnection and add the key under [vpn-secrets] (key-names as @jonnyeom wrote them)
Comment by Jonathan Eom (jonnyeom) - Monday, 10 August 2020, 14:09 GMT
Just as a reference, there has been tickets created for both gnome-shell and networkmanager
gnome-shell - https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2105
network-manager - https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/328

As a current workaround,
```
nmcli con mod VPNNAME vpn.secrets 'form:main:group_list=GROUPNAME','form:main:username=USERNAME','save_passwords=yes'
```
Comment by mattia (nTia89) - Saturday, 19 March 2022, 11:07 GMT
Both upstream linked reports have been closed. Is this issue still valid for you?

Loading...