summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/ntapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index 0940ebd..a5d6113 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -439,6 +439,10 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
&internals->htoken)))
return status;
+ __ntapi->tt_enable_token_privilege(
+ internals->htoken,
+ NT_SE_CREATE_SYMBOLIC_LINK_PRIVILEGE);
+
/* done */
*pvtbl = &___ntapi_shadow;
at_locked_inc(&__ntapi_init_idx);