winbind: Use wb_gettoken in getuserdomgroups
authorVolker Lendecke <vl@samba.org>
Tue, 3 Jan 2017 15:00:46 +0000 (15:00 +0000)
committerVolker Lendecke <vl@samba.org>
Wed, 4 Jan 2017 11:22:12 +0000 (12:22 +0100)
commit13d7d46a80949e2f8abd77c7dfc9dc9dcc03ae97
tree6cfc9b2558e3b652312b510270624816a61b4f9c
parentbb050bfd88e34c9d922ac2c26ab4cefc1bd07543
winbind: Use wb_gettoken in getuserdomgroups

This makes sure we return the same information regardless of which call into
winbind is used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_getuserdomgroups.c