Re: [Openvpn-devel] [PATCH] Allow inlining of --auth-user-pass

2013-10-12 Thread Max Muster
Yes, your right, there is this one "debugging" line left (it was just to be sure, the setting of auth_user_pass_file to "stdin" is the first thing done). Original-Nachricht Betreff: Re: [Openvpn-devel] [PATCH] Allow inlining of --auth-user-pass Von: Davide Brini An: Max Must

[Openvpn-devel] [PATCHv2] Allow inlining of --auth-user-pass

2013-10-12 Thread Davide Brini
This patch allows inlining of the --auth-user-pass directive, so it is now possible to do myusername mypassword or supply just the username, eg myusername (in this case the user is prompted for the password only). The most changed files are options.c (sanity check of inlined credentials) an

Re: [Openvpn-devel] [PATCH] Allow inlining of --auth-user-pass

2013-10-12 Thread Davide Brini
So here we go, your points are all valid. The patch you attached has a spurious line, or maybe it's just my client that doesn't show it correctly, I see @@ -5835,7 +5872,12 @@ VERIFY_PERMISSION (OPT_P_GENERAL); if (p[1]) { - options->auth_user_pass_file = p[1]; +