On Sun, Aug 21, 2016 at 10:49 AM, debbie10t <[email protected]> wrote:

> Hi,
>
> Openvpn-2.3.11 on Windows client:
>
> 1.
> --auth-user-pass useronly.txt
>
> useronly.txt =
>
> username
> ^Z
>
>
> This is expected as the GUI uses management interface which only supports
both username and password from management, not just one of them. That is,
username from file, password from management interface is not supported..
We could easily make querying from management get higher priority over
reading from file/console, but, given that the latest GUI  remembers
username, there may not be a strong need for such a feature.

Anyway,  auth-user-pass prompting works like this: if a  filename is
specified it gets priority over management and console. If the file
contains only username, it will fall back to console (or systemd if
supported) for prompting for password. If no file is specified and
management-query-passwords is specified, then both username and password
will be queried from management. In all other cases both username and
password is prompted from console (or systemd). Management is never a
fallback for reading from file so the windows GUI will not prompt for
username or password if if a file is specified.

Selva
------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to