AIX doesn't have getgrouplist() subroutine. Samba provides getgrouplist_internals() for such case. getgrouplist_internals() calls initgroups() and getgroups() to fetch the group list of the user. getgrset() could be used (if defined on the system) instead of initgroups() + getgroups() I'm in touch with Volker Lendecke and Christian Ambach about this request. A patch will be provided shortly I would appreciate if it could be included in master, 3.5 and 3.6 once submitted Best regards, Yannick Bergeron
This has been committed: master ed46dfc4f16e230645fae5f3b3b21c462694c30a v3.6-test 026829635072d6446b80df27c1f13c062ce934a5 Could this be cherry-picked in v3.5-test also? Best regards, Yannick Bergeron
On Mon, Mar 21, 2011 at 11:42:52AM +0000, samba-bugs@samba.org wrote: > master ed46dfc4f16e230645fae5f3b3b21c462694c30a > v3.6-test 026829635072d6446b80df27c1f13c062ce934a5 > > Could this be cherry-picked in v3.5-test also? Attached find a patch that applies to 3-5-test. Volker
Created attachment 6353 [details] 0001-s3-use-getgrset-when-it-is-available.patch
Comment on attachment 6353 [details] 0001-s3-use-getgrset-when-it-is-available.patch This has successfully been compiled on AIX, as well as ubuntu.
Comment on attachment 6353 [details] 0001-s3-use-getgrset-when-it-is-available.patch Looks ok
Karolin, please pick for the next release
Pushed to v3-5-test. Closing out bug report. Thanks!