r24848: Make tdb_validate() take an open tdb handle instead of a file name.
authorMichael Adam <obnox@samba.org>
Fri, 31 Aug 2007 16:30:40 +0000 (16:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:27 +0000 (12:30 -0500)
commitdc0b08e6590caa4974fd4d9f34f39f261d1f1dee
tree31488ab1ab51d3284981116ef5bc21d471a5ad44
parentcb3583b39212688a627a29bbddb2e98497714d42
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
source/lib/util_tdb.c
source/nsswitch/winbindd_cache.c