nss_winbind: add getgroupmembership for FreeBSD
commit1883e25c243ab093bf392ba26566ea620ff588e9
authorBjörn Jacke <bj@sernet.de>
Sun, 19 Oct 2014 13:48:45 +0000 (19 15:48 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sun, 26 Oct 2014 20:41:08 +0000 (26 21:41 +0100)
tree335ff3f3a104e89a9d3aa1a1a75162505ad2af15
parent0548c9e2722d57a92fc44da37282dacc8f627897
nss_winbind: add getgroupmembership for FreeBSD

The getgroupmembership call on FreeBSD is needed for "winbind expand groups=0"
(the new default in 4.2) to work.

Thanks to Timur I. Bakeyev for the enhancement patch.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10835

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8ccf5f66691e2bbf0883afa658282ef2ac60b015)
nsswitch/winbind_nss_freebsd.c