Displaying 4 results from an estimated 4 matches for "new_dacl".
Did you mean:
new_ace
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...st char *name,
> + SMB_STRUCT_STAT *psbuf,
> + struct security_descriptor **ppdesc)
> {
> struct dom_sid owner_sid, group_sid;
> size_t size = 0;
> @@ -400,8 +413,7 @@ static NTSTATUS make_default_filesystem_acl(TALLOC_CTX *ctx,
> struct security_acl *new_dacl = NULL;
> int idx = 0;
>
> - DEBUG(10,("make_default_filesystem_acl: file %s mode = 0%o\n",
> - name, (int)mode ));
> + DBG_DEBUG("file %s mode = 0%o\n",name, (int)mode);
>
> uid_to_sid(&owner_sid, psbuf->st_ex_uid);
> gid_to_sid(&gr...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote:
> On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote:
> > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote:
> > >
> > > Cheerio!
> > > -slow
> >
> > Still reviewing this - but a few things that will need changing:
> >
> > When adding the
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...gt; + SMB_STRUCT_STAT *psbuf,
> + struct security_descriptor **ppdesc)
> +{
> + struct dom_sid owner_sid, group_sid;
> + size_t size = 0;
> + struct security_ace aces[4];
> + uint32_t access_mask = 0;
> + mode_t mode = psbuf->st_ex_mode;
> + struct security_acl *new_dacl = NULL;
> + int idx = 0;
> +
> + DBG_DEBUG("file [%s] mode [0%o]\n", name, (int)mode);
> +
> + uid_to_sid(&owner_sid, psbuf->st_ex_uid);
> + gid_to_sid(&group_sid, psbuf->st_ex_gid);
> +
> + /*
> + * We provide 2 ACEs:
> + * - Owner
> + *...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote:
> On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote:
> > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote:
> > >
> > > Yeah, as much as I'd like to avoid adding a new option, I guess we
> > > have to do something about it, my latest take on this is
>