Prevent winbindd from segfaulting due to corrupted cache tdb.
commit18699d003b1d4460ffb36db61860e6c31acbf1cb
authorAndreas Schneider <anschneider@suse.de>
Mon, 26 Nov 2007 10:44:30 +0000 (26 11:44 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 7 Jan 2008 09:24:34 +0000 (7 10:24 +0100)
tree51bb97c90b9328c8b60d237029223972f1c810b1
parent3f4699f5a3f3c7a2ad11119c266e5a018d71b0fe
Prevent winbindd from segfaulting due to corrupted cache tdb.

If we try to flush the caches and due to a corrupted tdb we and have no tdb
context close the tdb and validate it. Initialize the cache afterwards again.
(This used to be commit d0c0f91fb9f3438a18c6f47ed894f525beb75cbf)
source3/winbindd/winbindd.c
source3/winbindd/winbindd_cache.c