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

Jakub Hrozek jhrozek at redhat.com
Thu Jun 9 07:34:51 UTC 2011


On 06/09/2011 09:31 AM, Jakub Hrozek wrote:
> 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.
> 

And now with the patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Provide-python-bindings-for-the-HBAC-evaluator-libra.patch
Type: text/x-patch
Size: 72882 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110609/6aadc9c2/attachment.bin>
-------------- 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/6aadc9c2/attachment.sig>


More information about the sssd-devel mailing list