]> 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>
Mon, 23 Nov 2015 20:23:17 +0000 (21:23 +0100)
commit76b82f0e9d272a703624b102bd2e2b38d9947afb
tree7502534b36cc862b126d99dbaec035e06b300f31
parent983f01861c31b3d768ec9b119cd26f8d1f2f7a73
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
(cherry picked from commit 6e9373c84639382c16d9eb8f1f78f60079bb89df)
doc/openvpn.8
src/openvpn/misc.c
src/openvpn/options.c