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:
I discovered the bug because salt-minion stalls when calling