]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Support for username-only auth file.
authorMichal Ludvig <mludvig@logix.net.nz>
Sun, 11 Oct 2015 08:44:20 +0000 (10:44 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 14 Nov 2015 19:03:15 +0000 (20:03 +0100)
commit6e9373c84639382c16d9eb8f1f78f60079bb89df
tree6cedc7811a638c85f8f832d8437c5a68bbe41053
parent7546cba4761b24f2195034dcd3407aecd43fd3be
Support for username-only auth file.

Make OpenVPN read the username from the auth file
parameter of --auth-user-pass and prompt for a
password if it's not in the file.

Rationale: Prior to this change OpenVPN either
required both username and password present in the
auth file or prompted for both on the console.
Unlike passwords usernames usually don't change and
can therefore be "hardcoded" in the config.

Signed-off-by: Michal Ludvig <mludvig@logix.net.nz>
Reviewed and updated to current master.

Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1444553060-15946-1-git-send-email-dejong@fox-it.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10255
doc/openvpn.8
src/openvpn/misc.c
src/openvpn/options.c