]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix using management interface to get passwords.
authorSteffan Karger <steffan@karger.me>
Wed, 15 Jul 2015 20:13:52 +0000 (22:13 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 21 Jul 2015 09:39:20 +0000 (11:39 +0200)
commitd4fbe287fc2ddbef05fdfe22adc641859a8a7412
tree80a685d5ea964a0f9d34ab114eb0d67b9d2ad8cb
parentb6ec7fbe96f4e200b8962ef6bb572bbb2228133e
Fix using management interface to get passwords.

Commits da9b292733e929a2900dc32d37f0424c3d588366 and
315f6fbc7f657a7f1127628bd714f468709d5185 broke the use case where we are
asking password from the management client. The password is always asked
before daemonization. With this fix we avoid this and ask it via management
interface in the same spot as before the mentioned commits. Tested on Linux.

v2: This patch was first submitted by Christian Pellegrin (from Google),
and reworked by Steffan Karger (from the OpenVPN team) to also work for
setups with --management-query-passwords but without --auth-user-pass.

Signed-off-by: Steffan Karger <steffan@karger.me>
Signed-off-by: Christian Pellegrin <chripell@google.com>
Tested-by: Christian Pellegrin <chripell@google.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <55A6C46C.5080601@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9927
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/openvpn.c