forked from OpenVPN/ovpn-dco-win
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some users are getting Access Denied error when device is accessed by the app running as unprivileged process. The problem can be workarounded by running openvpn process as privileged. While I cannot reproduce it, this change should likely solve it by explicitly enable read and write access to the device by everyone. To set SDDL, we need to assign unique device name. Using WdfDeviceInitSetCharacteristics() with FILE_AUTOGENERATED_DEVICE_NAME didn't work for me. Fixes OpenVPN#38 Signed-off-by: Lev Stipakov <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters