samba-tool: implement user getgroups command