[SSSD] [PATCH] add pysss.getgrouplist(username)

Lukas Slebodnik lslebodn at redhat.com
Fri Jul 19 14:04:29 UTC 2013


On (19/07/13 16:29), Alexander Bokovoy wrote:
>Hi!
>
>Apparently, getgrouplist(3) call is not available in Python older than
>Python 3.3. So I agreed with Jakub to have it bound to pysss Python
>module. We need this call to obtain list of groups trusted domain user
>belongs to for HBAC testing in FreeIPA.
>
>Additionally, I've fixed bug with linking of pysss. This patch is
>relevant to 1.10 as well, while the first one is needed in sssd 1.11.
>
>
>-- 
>/ Alexander Bokovoy

>From 37261eda5eddad3edf94e1aefc6d912bf1490a2d Mon Sep 17 00:00:00 2001
>From: Alexander Bokovoy <abokovoy at redhat.com>
>Date: Fri, 19 Jul 2013 16:22:10 +0300
>Subject: [PATCH 1/2] build: fix dependencies for pysss module
>
>https://fedorahosted.org/sssd/ticket/2025
>---
> Makefile.am | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/Makefile.am b/Makefile.am
>index 5158434..9498d50 100644
>--- a/Makefile.am
>+++ b/Makefile.am
>@@ -1758,6 +1758,7 @@ pysss_la_CFLAGS = \
>     $(AM_CFLAGS)  \
>     $(PYTHON_CFLAGS)
> pysss_la_LIBADD = \
>+    $(SSSD_INTERNAL_LTLIBS) \
>     $(PYTHON_BINDINGS_LIBS) \
>     $(PYTHON_LIBS)
> pysss_la_LDFLAGS = \

What kind of dependency problem? I could not reproduce it neither with fedora
nor ubuntu.
I have also tried to compile pysss.la as a static library.

LS



More information about the sssd-devel mailing list