s3-winbind: Add an update function for winbind cache.
commit53c3f46cc16b5c6f37650f6c390a4716c271f261
authorAndreas Schneider <asn@samba.org>
Sat, 3 Dec 2011 00:19:34 +0000 (2 16:19 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 Mar 2012 19:54:22 +0000 (5 20:54 +0100)
treeae0b30e8c756fdff2fb0deebd94bdfc55b8074f7
parentd5753e208d25c26db904dee0762837dd61eb2f3e
s3-winbind: Add an update function for winbind cache.

With 57b3d32 we changed the format for the winbind cache database and
the code deleted the database for the upgrade. As this database holds
also cached credentials, removing it is not an option. We need to update
from version 1 to version 2.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec  3 03:47:58 CET 2011 on sn-devel-104
(cherry picked from commit a3f600521122d1a6d74d16668bd1ea4447c5c867)

The last 3 patches address bug #8658 (Negative / positive winbind cache won't
expire till opposite type of query is made).
(cherry picked from commit 1854e6a766e1a7bf55b175d7975d3b6235149c7d)
source3/winbindd/winbindd_cache.c