r22702: Convert both lookup name and lookup sid to follow the
authorGerald Carter <jerry@samba.org>
Sun, 6 May 2007 19:01:54 +0000 (19:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:47 +0000 (12:21 -0500)
commit6ef504d71fee47fe6fbc930f488c96dfc7e6aaf8
treecb2ce089d4f0326327d572c0038c133f58574109
parent8ff276fcb02111664c727178296590d97eb09319
r22702: Convert both lookup name and lookup sid to follow the
same heuristic.  First try our DC and then try a DC in the
root of our forest.  Use a temporary state since
winbindd_lookupXXX_async() is called from various winbindd
API entry points.

Note this will break the compile.  That will be fixed in the
next commit.
(This used to be commit b442644bac2a7d5853440254257ca34a8e7c25de)
source3/nsswitch/winbindd_async.c
source3/nsswitch/winbindd_util.c