Prevent winbindd from segfaulting due to corrupted cache tdb.
commitd0c0f91fb9f3438a18c6f47ed894f525beb75cbf
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)
treed9c5496888cf28dbb14bf66419b3f100f01aaa6a
parentd9d6775878f8b3425665c6a45a5ef9cb92932cf8
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.
source/winbindd/winbindd.c
source/winbindd/winbindd_cache.c