s3-winbind: Add an update function for winbind cache.
authorAndreas Schneider <asn@samba.org>
Mon, 5 Dec 2011 20:33:25 +0000 (12:33 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 6 Dec 2011 18:41:12 +0000 (19:41 +0100)
commitdf616e928e08646bbc234af673a496117535c6d8
treeb1ef76393a473f09de8e5f5a6bec4c53da090185
parent33a8e161401b889feca19b2bb9222509cf77c37d
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).
source3/winbindd/winbindd_cache.c