s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
authorVolker Lendecke <vl@samba.org>
Mon, 28 Dec 2009 22:35:25 +0000 (23:35 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 29 Dec 2009 10:12:05 +0000 (11:12 +0100)
commit3b0deeb861a6025917e6b18badff619fa9361825
tree6242ca2f52c17fa7fff368cda04d77dd4dcf17b4
parent208a83b859f7d08174a20a810e79ed2718d00797
s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()

This avoids one walk of the domain list
(cherry picked from commit 10ae5a1a20852a3ebd582eb051f92ee08f61c50f)
source3/winbindd/wb_gettoken.c
source3/winbindd/winbindd_getgroups.c