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