s3: use getgrset() when it is available
commit026829635072d6446b80df27c1f13c062ce934a5
authorChristian Ambach <christian.ambach@de.ibm.com>
Mon, 14 Mar 2011 12:08:58 +0000 (14 08:08 -0400)
committerVolker Lendecke <vl@samba.org>
Sat, 19 Mar 2011 09:12:03 +0000 (19 10:12 +0100)
tree369a92e4d238186019d51a6022797b40e48c991b
parent95a28ca5f89dc87be004311e57e7f896dbca8ac6
s3: use getgrset() when it is available

When getgrouplist() is not defined, use getgrset() if it is defined
instead of using the initgroups() + getgroups() combo

Major contributions from Yannick Bergeron <yaberger@ca.ibm.com>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104
(cherry picked from commit ed46dfc4f16e230645fae5f3b3b21c462694c30a)
source3/configure.in
source3/lib/system_smbd.c
source3/wscript