nss_winbind: add getgroupmembership for FreeBSD
commit8ccf5f66691e2bbf0883afa658282ef2ac60b015
authorBjörn Jacke <bj@sernet.de>
Sun, 19 Oct 2014 13:48:45 +0000 (19 15:48 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 20 Oct 2014 10:20:04 +0000 (20 12:20 +0200)
tree02ffad9e5957a41a35feee4ec9ed6437a05650f8
parent6bbfb09b0746eef8432cf43801f65dd777e7046d
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>
nsswitch/winbind_nss_freebsd.c