summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-14 05:54:45 +0000
committermidipix <writeonce@midipix.org>2020-05-14 05:54:45 +0000
commit9d1d3b24b316d6ee042238c3a87b2808a4f1e76c (patch)
tree5337f31ee038def901035a1bfca5991b32ff741c /src
parent6949e6d68321254c548457c5f1f25e744cdfd90c (diff)
downloadntapi-9d1d3b24b316d6ee042238c3a87b2808a4f1e76c.tar.bz2
ntapi-9d1d3b24b316d6ee042238c3a87b2808a4f1e76c.tar.xz
__ntapi_acl_init_common_descriptor_meta(): set meta->group by owner as needed.
Diffstat (limited to 'src')
-rw-r--r--src/acl/ntapi_acl_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/acl/ntapi_acl_helper.c b/src/acl/ntapi_acl_helper.c
index c467f23..92f5b4d 100644
--- a/src/acl/ntapi_acl_helper.c
+++ b/src/acl/ntapi_acl_helper.c
@@ -198,6 +198,7 @@ static int32_t __acl_init_common_meta_impl(
meta->group_ace = ace;
meta->group_sid = sid;
+ meta->group = sid;
}
else if (!(__ntapi->tt_sid_compare(sid,(nt_sid *)&sid_admins))) {