Bug 377560

Summary: [RFE] [Openconnect] csd-wrapper & os options missing
Product: [Applications] systemsettings Reporter: Vincent Fortier <th0ma7>
Component: kcm_networkmanagementAssignee: Jan Grulich <jgrulich>
Status: REPORTED ---    
Severity: wishlist CC: jgrulich, megastallman, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.17.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vincent Fortier 2017-03-13 11:08:16 UTC
In order to conect to my office VPN I need to use a csd-wrapper script and tell the VPN server I'm actually using windows (and not linux).

As such I'm using the following switches:
--csd-wrapper=csd.sh
--os=win

Adding theses two switches to the applet would is a must have in my case.

Thnx in advance!
Comment 1 Jan Grulich 2017-03-13 11:27:52 UTC
I guess you are talking about openconnect, right? Option for csd-wrapper is already there, check the configuration dialog. Regarding --os option I'm not sure this is supported by NetworkManager-openconnect plugin as I don't even see this option in nm-connection-editor. I'll try to check it, but if it's not there then I won't be able to add support for it until it's supported by NM plugin itself.
Comment 2 Vincent Fortier 2017-03-13 11:37:24 UTC
Yes you are absolutely right, the csd option is there in openconnect.
I was looking at the openvpn tab by mistake but I did meant openconnect.

And yes I --os option is missing and it may well be also missing from NM.

Thnx in advance!
Comment 3 Vincent Fortier 2017-03-13 11:39:04 UTC
Also note that in my use case I also need to pass a user name & password although the fields are missing in the "VPN (openconnect)" tab.
Comment 4 Jan Grulich 2017-03-13 11:43:02 UTC
User name and password are supposed to be passed later once you try to activate your connection. Once you do that a dialog appears requesting your user name, password etc. based on openconnect server response.
Comment 5 Vincent Fortier 2017-03-13 12:21:40 UTC
ah, that explains.  Then only the --os=win option is missing.
Comment 6 megastallman 2019-06-19 12:25:21 UTC
For me, I use the following options: # openconnect --csd-wrapper sniffed-from-someones-mac.sh --authgroup='Somegroup' --user=someone corporate-gateway.com --os=mac-intel
So that I miss the following:
--authgroup
--os