s3-winbind: Add an update function for winbind cache.
commita72e1fa3a4c0c1cdf793b9221d1a60af6087690c
authorAndreas Schneider <asn@samba.org>
Mon, 5 Dec 2011 20:33:25 +0000 (5 12:33 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:28:48 +0000 (23 21:28 +0100)
treed598e6631af976f8eb88e95439d9b9d6bb5be3f1
parent62a4f81423b7699f1f887d58eaa27783df2e5827
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.

Fix bug #8643 (A Samba update to 3.6 deletes the winbind cache with cached
credentials).
(cherry picked from commit df616e928e08646bbc234af673a496117535c6d8)
source3/winbindd/winbindd_cache.c