[SSSD] Patch for pysss.c : getgrouplist

Jakub Hrozek jhrozek at redhat.com
Wed Jun 24 08:59:50 UTC 2015


On Tue, Jun 23, 2015 at 03:45:26PM +0200, Martin Karto Andersen wrote:
> Hello,
> 
> I had a chat with lslebodn in #sssd and here is my patch.
> It’s a fix for pysss getgrouplist return test, thats different between
> linux and freebsd.
> The fix if for this code:
> https://git.fedorahosted.org/cgit/sssd.git/tree/src/python/pysss.c#n783
> I discovered the bug because salt-minion stalls when calling
> pysss.getgrouplist.

Hi,

thanks for the patch!

Could you please send it in the "git format-patch" format?

I also wonder what do you use pysss for? To be honest, I was considering
removing it from SSSD, I'm really suprised someone uses it (and also a
bit surprised it works).

Not related to your patch, but we should stop using malloc/realloc and
start using talloc/talloc_realloc in pysss..



More information about the sssd-devel mailing list