[SSSD] [PATCH] Provide python bindings for the HBAC evaluator library

Jakub Hrozek jhrozek at redhat.com
Thu Jun 9 07:31:42 UTC 2011


On 06/07/2011 03:11 PM, Jakub Hrozek wrote:
> On 06/07/2011 02:46 PM, Jakub Hrozek wrote:
>> Hi,
>>
>> the attached patch provides a new python module "pyhbac" that implements
>> python bindings for the HBAC evaluator library.
>>
>> The patch depends on Stephen's last patches which are on review as of
>> now, but the test suite passed, so I think the bindings can be reviewed
>> in parallel.
>>
>> "make check" loads the built python module from tree by doing some
>> sys.path magic. If you'd like to experiment with the module yourself,
>> you must either install it or set PYTHONPATH to $SSSD_BUILD_DIR/.libs
>>
>>
> 
> btw when I started reading Stephen's patches I noticed that there is a
> new subpackage libipa_hbac - the module should belong there.
> 
> Also I left one FIXME in Makefile.am -- I'll fix these two issues with
> any other that will come up during the review :-)
> 

I've done enough changes so that the patch needs resending. I got rid of
talloc in favor of Py_Malloc - it would be wasteful if just the bindings
dragged in talloc and I places the module in libipa_hbac-python subpackage.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110609/144fa302/attachment.sig>


More information about the sssd-devel mailing list