access_table() challenge - win a Samba t-shirt!

Luke Kenneth Casson Leighton lkcl at samba.org
Sun Jan 16 22:41:20 GMT 2000


On Mon, 17 Jan 2000, Michael Glauche wrote:

> Andrew Tridgell wrote:
> > 
> > I've just spent quite some time re-doing our deny mode code in
> > Samba. We now pass (ie. match NT4) on all possible deny mode
> > combinations.
> > The challenge now is to recode access_table() so that it is as small
> > as possible. Right now it is horrendous, but I suspect there is an
> > underlying pattern that I have missed.

oh!  i wonder what happens if you convert this to ACL format?  what
happens if we convert this into an ACL, with execute permissions etc being
requested, etc?

i wonder if a bitmask is better for this because in NT it _is_ implemented
as a bitmask - SEC_ACCESS_EXECUTE; SEC_ACCESS_READ etc!



More information about the samba-technical mailing list