OpenVPN connections should allow username and password

Bug #1567389 reported by Gregory Opera
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
Ubuntu UX
Fix Released
Undecided
Unassigned
indicator-network (Ubuntu)
Invalid
Undecided
Unassigned
ubuntu-settings-components (Ubuntu)
Fix Released
High
Jonas G. Drange

Bug Description

When configuring a VPN connection, there is no "username" field in which to enter one's username (an e-mail address, in my case).

--

Reproduce:
- Access the VPN settings (Apps Scope-->System Settings-->VPN-->Add Manual Configuration...).
- Attempt to enter username.

Result:
- There is no field in which to enter one's username.

Expectation:
- To be able to specify a username for one's VPN connection, as per their respective VPN subscription.

--

bq Aquaris E5 HD Ubuntu Edition:
* OS build number: OTA-10
* Ubuntu Image part: 20160401.1
* Ubuntu build description: Ubuntu 15.04 - armhf (20160401-184657)
* Device Image part: 20160329-a9bacdb
* Device build description: VEGETA01A-S23A_BQ_L100EN_2011_160401
* Customization Image part: 20160324--36-54-vivid

Related branches

description: updated
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Thanks, Gregory. Is this an OpenVPN configuration you are adding or some other type? We only support OpenVPN at the moment.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Incomplete
Revision history for this message
Gregory Opera (gregoryopera) wrote :

It's an OpenVPN configuration, using the settings provided by my VPN service provider (a commercial, subscription-based service)...

My VPN service provider went through the settings with me one-by-one and confirmed what I suspected - that there should be a field to type-in my username (an e-mail address in my case).

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Right, thanks for confirming. I see it now [1].

[1] --auth-user-pass [up]

Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Low
Changed in indicator-network (Ubuntu):
status: New → Confirmed
summary: - VPN settings is missing "username" field.
+ OpenVPN should allow username and password
summary: - OpenVPN should allow username and password
+ OpenVPN connections should allow username and password
Revision history for this message
tuxboson (tpayer) wrote :

Affects to me too. To access my openvpn server additional to ca.crt, user.crt and user.key username and password credentials have to be able to offer. Hope there is a sloution in near time!
Thanks

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Added c-d-s-i project for visibility.

If the backend is ready, (Pete?), the solution for this is quite simple: we add it to the spec and add it to ubuntu-settings-components.

no longer affects: ubuntu-system-settings (Ubuntu)
Changed in indicator-network (Ubuntu):
status: Confirmed → Incomplete
Changed in ubuntu-settings-components (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Pete Woods (pete-woods) wrote :

Pretty sure it is. When using the developer UI, all functionality of the backed is there. i.e. auth using:
* cert only
* username, password and cert
* username and password
* static keys

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Be nice to complete the implementation

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
milestone: none → 11
status: New → Confirmed
Changed in ubuntu-settings-components (Ubuntu):
assignee: nobody → Jonas G. Drange (jonas-drange)
status: Triaged → In Progress
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
tags: added: system-apps-11
Revision history for this message
Will Atwood (skyflyer) wrote :

If possible, show the generated config file and allow for custom edits. A way to verify the config might be crucial to some.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

@skyflyer, you can look at the NM config file, but I wouldn't recommend trying to edit those files? Why would you need to do this? Maybe we could cater for this use case in the spec/UI.

@tpayer or gregoryopera: do you have a chance to test silo 8? A silo is a PPA, but there are risks involved in testing, so it's okay if you don't have a chance.

Revision history for this message
Gregory Opera (gregoryopera) wrote :

I'd rather not if I don't have to, @ jonas-drange, a my E5 HD Ubuntu Edition is my "daily driver" and relied upon for work... If you *really* need me to I will, however.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote : Re: [Bug 1567389] Re: OpenVPN connections should allow username and password

On 26 April 2016 at 00:08, Gregory Opera <email address hidden> wrote:

> I'd rather not if I don't have to, @ jonas-drange, a my E5 HD Ubuntu
> Edition is my "daily driver" and relied upon for work... If you *really*
> need me to I will, however.
>

​Then you definitely shouldn't test it. Thanks anyway, Gregory. We'll
manage.​

Revision history for this message
Will Atwood (skyflyer) wrote :

Sometimes it is necessary to create a generated config file that has more options than the gui will allow. Without having to drop to the command line, it would be nice to allow for custom options to be incorporated and then be able to view config to verify everything looks correct. I think this feature would make the GUI so much more powerful, yet be easy to manage.

Revision history for this message
Will Atwood (skyflyer) wrote :

Attached screen shot show "Custom Options" under the "Advanced" tab for Openvpn app. Convient way to add unusual options to config. For example: auth-retry nointeract, key-method 2, explicit-exit-notify 3, fragment 1400, preresolve just to list a few. There are just too many options for the GUI to list.

Revision history for this message
Will Atwood (skyflyer) wrote :

https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/606365

Looks like NM is getting close to client.ovpn import capabilities. Seems like that is a much needed feature in Ubuntu Touch, especially for corporate users. This may be a way to solve some of the gui issues mentioned in previous post.

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-settings-components - 0.7+16.04.20160427-0ubuntu1

---------------
ubuntu-settings-components (0.7+16.04.20160427-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * Resync trunk.

  [ jonas-drange ]
  * Make Cancel/Ok buttons visible always Add support for TLS, Password,
    Password+TLS and Static auth types. (LP: #1558531, #1567389)

 -- <email address hidden> (Jonas G. Drange) Wed, 27 Apr 2016 12:32:16 +0000

Changed in ubuntu-settings-components (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Pete Woods (pete-woods)
Changed in indicator-network (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-ux:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.