s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.
commitf79cee20461b5599419fe022abee009c3aef5290
authorAndreas Schneider <asn@samba.org>
Sat, 21 Jul 2012 00:12:09 +0000 (20 17:12 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Jul 2012 19:34:48 +0000 (24 21:34 +0200)
tree2f5be6517c1b8cba13c5eddef510b44c4d74ceb3
parente445130ffae011ee650e4b5dab0e4cb8a0ed7a56
s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.

We don't resolve our own "Domain Local" groups since bug #7843 has been
fixed. So we need to add the add resource groups to the sid list too.

Before bug #7843 the "Domain Local" groups were added with a
lookupuseraliases call, but this isn't done anymore for our domain
so we need to resolve resource groups here.

When to use Resource Groups:
http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx

Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ce8dfb6be131edb94191a78bf28102415b5d8c4c)
source3/include/proto.h
source3/lib/util_sid.c
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_util.c