memory leak I introduced into acl code, also remove
redundent extra check for global_sid_System :
global_sid_System == S-1-5-18 which is already
included in the check for a domain of
global_sid_NT_Authority == S-1-5
Jeremy.
(This used to be commit
10649540ac11e679997f414d4a6b12d057bd7913)
DOM_SID dom;
uint32 rid;
- if (sid_equal(sid, &global_sid_System))
- return True;
-
sid_copy(&dom, sid);
sid_split_rid(&dom, &rid);
if (non_mappable_sid(&psa->trustee)) {
DEBUG(10,("create_canon_ace_lists: ignoring non-mappable SID %s\n",
sid_to_string(str, &psa->trustee) ));
+ SAFE_FREE(current_ace);
continue;
}