[SSSD] Proposed changes to the HBAC grammar

Stephen Gallagher sgallagh at redhat.com
Thu Nov 18 12:21:04 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/17/2010 04:48 PM, Sumit Bose wrote:
> On Wed, Nov 17, 2010 at 04:07:24PM -0500, Stephen Gallagher wrote:
> After extended discussion, Simo, Ben and I discussed replacing this
> week-of-the-month concept with a septet-of-the-month concept instead.
> 
> This would be described by:
> accessTime: periodic monthly septet 1 day 3 0800-1700
> 
> and would literally translate as "The wednesday that exists within the
> first septet of the month". The first septet being the range of day 1
> through day 7, the second septet being day 8 through 14, and so forth.
> 
>> I would like to suggest to allow negative numbers to cover 'the last
>> Wednesdays of the month'.
> 

Doing the forward septets is easy (1*x..7*x), but the reverse septets
are more complicated (since they would be (y-1*x..y-7*x), where y is the
total number of days in the month (which also has to account for leap
years).

I think it might be a nice enhancement, but I recommend that we not
include it right now, given the tight release schedule for FreeIPA v2.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzlGjAACgkQeiVVYja6o6PLxQCfW4OakzaQH+OPtlD4kOsyh7BN
voMAn1G+dMWRTx5jwxL1yu5lkbuWX+Qz
=ZDmw
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list