Bug #2534

OpenVPN authentication fails when using 'domain\username' format.

Added by Jason Taylor 11 months ago. Updated 6 months ago.

Status:Closed Start date:07/02/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version: Affected Architecture:

Description

OpenVPN turns backslashes in the username to underscores. A username input as 'domain\user' is fed to RADIUS as 'domain_user' which fails authentication.

History

#1 Updated by Jim P 11 months ago

  • Status changed from New to Feedback

Doing a quick scan I didn't see anything in our code that would be doing that, OpenVPN could be doing it internally, but from their changelog they stopped doing that a long time ago. The version we have on 2.0.x is much newer than one that had the issue before.

OpenVPN passes us the auth credentials in the environment, the auth script isn't mangling it internally.

First I'd make sure the client is up-to-date (2.2.x) before debugging more. If you have an old 2.0.1 or before client, it would be the client doing this, not necessarily the server.

#2 Updated by Chris Buechler 6 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF