On Fri, May 09, 2014 at 09:58:52PM +0200, Jakub Hrozek wrote:
Hi,
the attached two patches add a GetGroupsList method that adelton's
mod_lookup_identity uses.
The first patch is a one-liner that I don't think harms the current
sysdb_initgroups() users in any way, also all the sysdb tests pass.
The second patch adds the new method.
Pavel did a review on IRC and requested a change -- the patches don't
work quite well if the user is not a member of any group except his
private one. I'll address this comment.