s3: let netsamlogon_cache_init() use tdb_check()
commit05927ff692edbac6b35dda175f702b72a38def8b
authorStefan Metzmacher <metze@samba.org>
Fri, 4 Dec 2009 15:34:08 +0000 (4 16:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:41 +0000 (8 09:15 +0100)
tree09ad7a17b706b8fb12146ea94757834852ea815a
parent830f18c5f4fc85a1dc49198365ed6ed7061e5dee
s3: let netsamlogon_cache_init() use tdb_check()

If the check fails we try to unlink the old file and
start with an empty cache.

metze
(cherry picked from commit 8f19c08072a7a6036d59cf6c2ca6ce17c74b7635)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 8f737c3cd154f394f821b0e34ced3f84ff8773c4)
source3/libsmb/samlogon_cache.c