s3: Fix another winbind crash
commit60a3cc850a27a14110541439c05387efb0312210
authorVolker Lendecke <vl@samba.org>
Tue, 6 Jul 2010 09:54:31 +0000 (6 11:54 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 6 Jul 2010 12:21:41 +0000 (6 14:21 +0200)
treeb5d0b61b17c3070d4d671d794f4b5725b8ade4d7
parent1dcf0e917e99cadf7267566db2139c3dbfc0815a
s3: Fix another winbind crash

This is similar to 09a9cc3, this re-arranges winbindd_ads.c:query_user_list()
so that "ads" is not accessed anymore across a call to nss_get_info_cached()
call which can destroy it behind the scenes.
source3/winbindd/winbindd_ads.c