r24848: Make tdb_validate() take an open tdb handle instead of a file name.
commit57ac659fb6875be42c306f63984c5b9c8073c878
authorMichael Adam <obnox@samba.org>
Fri, 31 Aug 2007 16:30:40 +0000 (31 16:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:27 +0000 (10 12:30 -0500)
treefe5c9b561befd4559e381a75a4bba66602f82dd3
parentf02f8563a20c8a676e81f61cf74fa3b20db000f0
r24848: Make tdb_validate() take an open tdb handle instead of a file name.
A new wrapper tdb_validate_open() takes a filename an opens and closes
the tdb before and after calling tdb_validate() respectively.

winbindd_validata_cache_nobackup() now dynamically calls one of
the above functions depending on whether the cache tdb has already
been opened or not.

Michael
(This used to be commit dc0b08e6590caa4974fd4d9f34f39f261d1f1dee)
source3/lib/util_tdb.c
source3/nsswitch/winbindd_cache.c