Ensure that winbindd_getgroups() can deal with a UPN name.
commit2030a8de19a2c7c735a8aa367dd953e4a5c447b8
authorGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:32:58 +0000 (4 13:32 -0600)
committerGerald (Jerry) Carter <jerry@samba.org>
Fri, 4 Jan 2008 19:32:58 +0000 (4 13:32 -0600)
tree471d45e1d3dd59d705e496f53077a039c88dcd95
parented30516bb0f55f9ba466debf91b6e33d1c28a484
Ensure that winbindd_getgroups() can deal with a UPN name.

A user logging in via GDM was not getting a complete list of supplementary
groups in his/her token.  This is because getgroup() was not able to
find the winbindd_domain* using the DNS name.  Fallback to matching the DNS
name is the short name match failes.
source/winbindd/winbindd_group.c