uint32_t i;
TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
struct security_acl *tmp_acl = talloc_zero(mem_ctx, struct security_acl);
- struct dom_sid *co, *cg;
if (!tmp_acl) {
return NULL;
}
if (!acl) {
return NULL;
}
- co = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_OWNER);
- cg = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_GROUP);
for (i=0; i < acl->num_aces; i++) {
struct security_ace *ace = &acl->aces[i];
TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
struct security_acl *tmp_acl = talloc_zero(tmp_ctx, struct security_acl);
struct security_acl *new_acl;
- struct dom_sid *co, *cg;
if (!acl)
return NULL;
tmp_acl->revision = acl->revision;
DEBUG(6,(__location__ ": acl revision %d\n", acl->revision));
- co = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_OWNER);
- cg = dom_sid_parse_talloc(tmp_ctx, SID_CREATOR_GROUP);
-
for (i=0; i < acl->num_aces; i++){
struct security_ace *ace = &acl->aces[i];
/* Remove ID flags from user-provided ACEs