Turns out is triggered by NetworkManager-openvpn stripping the "comp-lzo
no" option from the imported .ovpn config file, misrepresenting a
3-value option as a simple check box, and giving the user no way to
enter the correct setting.

Checking the "Use LZO data compression" box in the Advanced... config
dialog *might* work around the problem.  This does not map to the
intended "comp-lzo no" setting in openvpn, but if the server is pushing
the setting to the client, it might work anyway.

More details in the upstream bug report.

** Summary changed:

- auth_failed when attempting openvpn via networkmanager
+ NetworkManager-openvpn mishandles the comp-lzo option, thereby breaking the 
ovpn config and causing AUTH_FAILED

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1661098

Title:
  NetworkManager-openvpn mishandles the comp-lzo option, thereby
  breaking the ovpn config and causing AUTH_FAILED

Status in NetworkManager-OpenVPN:
  Confirmed
Status in network-manager-openvpn package in Ubuntu:
  New

Bug description:
  Attempting to establish an OpenVPN session via network-manager-openvpn
  fails with a password authentication error, even though the username
  and password I entered are correct.  The following messages in syslog:

      Feb  1 12:44:54 computer nm-openvpn[21582]: NOTE: the current 
--script-security setting may allow this configuration to call user-defined 
scripts
      Feb  1 12:44:54 computer nm-openvpn[21582]: UDPv4 link local: [undef]
      Feb  1 12:44:54 computer nm-openvpn[21582]: UDPv4 link remote: 
[AF_INET]209.148.113.36:1194
      Feb  1 12:44:54 computer nm-openvpn[21582]: WARNING: 'link-mtu' is used 
inconsistently, local='link-mtu 1557', remote='link-mtu 1558'
      Feb  1 12:44:54 computer nm-openvpn[21582]: WARNING: 'comp-lzo' is 
present in remote config but missing in local config, remote='comp-lzo'
      Feb  1 12:44:54 computer nm-openvpn[21582]: [OpenVPN Server] Peer 
Connection Initiated with [AF_INET]209.148.113.36:1194
      Feb  1 12:44:56 computer nm-openvpn[21582]: AUTH: Received control 
message: AUTH_FAILED
      Feb  1 12:44:56 computer nm-openvpn[21582]: SIGUSR1[soft,auth-failure] 
received, process restarting
      Feb  1 12:44:56 computer NetworkManager[1322]: nm-openvpn[21574] <warn>  
Password verification failed

  I am able to establish the session by manually running openvpn from
  the command line, using the same username, password, and the ovpn file
  from which NetworkManager imported the setttings.

  I'm running Xubuntu 16.10 (yakkety).
  I did not have this problem in Ubuntu 16.04 (xenial).

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-openvpn/+bug/1661098/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to