dup_sec_desc does not duplicate SE_DESC_DACL_AUTO_INHERITED
jra at samba.org
Fri Sep 19 21:58:13 GMT 2003
On Fri, Sep 19, 2003 at 10:16:14AM -0700, Matt Seitz wrote:
> The dup_sec_desc function (rpc_parse/parse_sec.c) does not duplicate the
> SE_DESC_DACL_AUTO_INHERITED flag. However, sec_desc_equal does check
> this flag. This means that
> assert(sec_desc_equal(sd, dup_sec_desc(ctx, sd));
> will fail if "(sd->type & SE_DESC_DACL_AUTO_INHERITED) != 0" is true.
> Is this a bug or is there a reason for this behavior?
Yeah it's a bug. Fixed in CVS (not the release branch, but the 3.0
More information about the samba-technical