winbind: Add "expand_local_aliases" to wb_gettoken
authorVolker Lendecke <vl@samba.org>
Tue, 3 Jan 2017 14:54:46 +0000 (14:54 +0000)
committerVolker Lendecke <vl@samba.org>
Wed, 4 Jan 2017 11:22:12 +0000 (12:22 +0100)
commitbb050bfd88e34c9d922ac2c26ab4cefc1bd07543
tree8ce9af1152dd748fd802b566fdab7444b9aee8d5
parenta8ab48ee193f68217e7c53b71bf6c57d2d15f8d7
winbind: Add "expand_local_aliases" to wb_gettoken

I hate passing down booleans, but we have the "domain_groups_only"
parameter in wbcLookupUserSids which we need to keep for API
compatibility. To make sure we use as few code paths as possible, this
basically passes down this flag.

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