r23054: Move the check for the lookup_domain of S-1-22-{1,2} before the
commitf96242d9331a5fcdc65445d0d0ea7177c7ddc6e0
authorGerald Carter <jerry@samba.org>
Mon, 21 May 2007 21:33:51 +0000 (21 21:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:17 +0000 (10 12:22 -0500)
tree0780ac0c2d2170b4ee41be926f08377704d5411c
parent9826a0074a6494141f669cc2cc9c5973089e6e64
r23054: Move the check for the lookup_domain of S-1-22-{1,2} before the
check for IS_DC.  Otherwise we will for example fail to lookup a
sid of S-1-22-1-780 because it has no valid struct winbindd_domain*
in the list.   Thanks to Simo for the catch.
(This used to be commit f53aa56998411b90de238e12e9c3de7f2ff0d2b6)
source3/nsswitch/winbindd_util.c