I am sorry, I have to retract my ACK. When ValidateOptions is called first and config is non located in global directory (Program Files), service replies to gui via pipe with error message:
0x20000001 You have specified a config file location (client.xxx.ovpn relative to C:\Users\lev\OpenVPN\config\client.xxx) that requires admin approval. This error may be avoided by adding your account to the "OpenVPN Administrators" group (null) This message is incorrect, since account is in admin group, we just haven't checked that yet. When following check verifies that user indeed belongs to the admin group, service runs openvpn and connection got established. By some reasons, above error message is not read on the gui side. However, by adding small delay to service code or a breakpoint, message reaches gui, which displays an error. While under normal circumstances it works, I believe it just works by accident (error message is not read on gui side without delay on service side). We need to move sending error message out of ValidateOptions. ma 3. helmik. 2020 klo 10.23 Lev Stipakov (lstipa...@gmail.com) kirjoitti: > Built and tested, works as specified. > > Acked-by: Lev Stipakov <lstipa...@gmail.com> > -- -Lev
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel