OpenVPN authentication fails when using 'domain\username' format.
|Affected version:||Affected Architecture:|
OpenVPN turns backslashes in the username to underscores. A username input as 'domain\user' is fed to RADIUS as 'domain_user' which fails authentication.
- 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.