s3-winbind: Add an update function for winbind cache.
authorAndreas Schneider <asn@samba.org>
Sat, 3 Dec 2011 00:19:34 +0000 (16:19 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Dec 2011 12:58:34 +0000 (13:58 +0100)
commit1854e6a766e1a7bf55b175d7975d3b6235149c7d
tree5541776103673b59d0119e43c94c08e88849eb9e
parentb5215ca58c7501e093030c527f82078c8b315b88
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).
source3/winbindd/winbindd_cache.c