Proposal to remove confusing "security XX mask" parameters for 4.0.0

Jeremy Allison jra at samba.org
Thu Oct 4 10:55:55 MDT 2012


On Thu, Oct 04, 2012 at 10:42:28AM +1000, Andrew Bartlett wrote:
> On Wed, 2012-10-03 at 17:00 -0700, Jeremy Allison wrote:
> > On Tue, Oct 02, 2012 at 09:41:01PM -0700, Jeremy Allison wrote:
> > > 
> > > What I'd like to propose is that we
> > > remove the first 4 parameters:
> > > 
> > > security mask
> > > force security mode
> > > directory security mask
> > > force directory security mode
> > > 
> > > for 4.0.0, and leave only the original
> > > 
> > > create mask
> > > force create mode
> > > directory mask
> > > force directory mode
> > > 
> > > parameters, which will then be applied
> > > on both create and ACL set operations.
> > > 
> > > This will simplify things quite a bit.
> > 
> > And here's the patch for 4.0.0rc3, currently
> > testing.
> 
> I think this is missing the removal of the set_() functions from
> source3/param, as it fails to build for me with:
> 
> ../source3/param/loadparm.c: In function ‘lp_set_security_mask’:
> ../source3/param/loadparm.c:5478:29: error: ‘struct loadparm_service’
> has no member named ‘iSecurity_mask’
> ../source3/param/loadparm.c:5479:19: error: ‘struct loadparm_service’
> has no member named ‘iSecurity_mask’
> ../source3/param/loadparm.c: In function
> ‘lp_set_directory_security_mask’:
> ../source3/param/loadparm.c:5485:29: error: ‘struct loadparm_service’
> has no member named ‘iDir_Security_mask’
> ../source3/param/loadparm.c:5486:19: error: ‘struct loadparm_service’
> has no member named ‘iDir_Security_mask’

Ah, no - what I posted is the patch for branch v4-0-0-test only.

The patch for master includes the reversion of the addition of
the set functions, but I didn't post that as they were never
added into the 4.0.0rc branch. The code I'll push to master
includes the revert of the set functions.

Thanks for testing though, much appreciated !

Jeremy.


More information about the samba-technical mailing list