Project

General

Profile

Bug #7008

OpenVPN sever unable to authenticate users on 2.4

Added by Jim Pingle 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
12/12/2016
Due date:
% Done:

100%

Affected version:
2.4
Affected Architecture:

Description

On 2.4, OpenVPN is unable to authenticate local or remote users. The logs show that the user authenticates successfully but then it logs an error:

Dec 12 15:08:42     openvpn         user 'jimp' authenticated
Dec 12 15:08:42     openvpn     8774     10.6.0.114:1194 WARNING: Failed running command (--auth-user-pass-verify): external program exited with error status: 1
Dec 12 15:08:42     openvpn     8774     10.6.0.114:1194 TLS Auth Error: Auth Username/Password verification failed for peer
Dec 12 15:08:42     openvpn     8774     10.6.0.114:1194 Peer Connection Initiated with [AF_INET]10.6.0.114:1194 

To me, I have a fix.

Associated revisions

Revision e719538c
Added by Jim Pingle 5 months ago

This script is not called directly in a way that requires a shabang, and it interferes with the script output, preventing successful authentication. Fixes #7008

History

#1 Updated by Jim Pingle 5 months ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to Resolved

Works

Also available in: Atom PDF