diff options
author | midipix <writeonce@midipix.org> | 2018-03-27 01:53:14 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-03-29 21:56:28 -0400 |
commit | 0a84879cdc3be1bbe3e09dd9fd883a4832e9443e (patch) | |
tree | 890b50007ab3c483666d922c6edad95d17c619b5 /src/acl | |
parent | 227c1560530dc822180e71690795d4a97d2d7310 (diff) | |
download | ntapi-0a84879cdc3be1bbe3e09dd9fd883a4832e9443e.tar.bz2 ntapi-0a84879cdc3be1bbe3e09dd9fd883a4832e9443e.tar.xz |
internals: when running as a local/domain user, cache the domain's admin sid.
Diffstat (limited to 'src/acl')
-rw-r--r-- | src/acl/ntapi_acl_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acl/ntapi_acl_helper.c b/src/acl/ntapi_acl_helper.c index 72444fe..c495dc5 100644 --- a/src/acl/ntapi_acl_helper.c +++ b/src/acl/ntapi_acl_helper.c @@ -65,7 +65,7 @@ void __stdcall __ntapi_acl_init_common_descriptor( sd->sd.offset_sacl = 0; /* owner, group, other: default sid's */ - owner = owner ? owner : __ntapi_internals()->sid; + owner = owner ? owner : __ntapi_internals()->user; group = group ? group : owner; other = other ? other : &sid_auth_users; |