Bug 760137

Summary: The whole winbind cache with cached credentials is deleted on an upgrade to version 3.6
Product: [Fedora] Fedora Reporter: Andreas Schneider <asn>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: asn, gdeschner, jlayton, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-3.6.1-77.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-21 17:11:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patches for 3.6 none

Description Andreas Schneider 2011-12-05 14:06:03 UTC
Description of problem:

If you update from a former Samba version to 3.6 the complete winbind cache including cached credentials is deleted cause of a database change.

How reproducible:

Always

Steps to Reproduce:
* Install Samba 3.5
* Delete the winbindd_cache.tdb
* Start winbind
* Do some request like wbinfo -u/-g
* Shut down winbind
* Install Samba 3.6
* Start it

You will see from the logs that the cache validation fail and the tdb gets renamed to winbindd_cache.tdb.corrupt.


The attached path fixes the problem.

Comment 1 Andreas Schneider 2011-12-05 14:13:16 UTC
Created attachment 540927 [details]
Patches for 3.6

Comment 2 Fedora Update System 2011-12-13 10:43:17 UTC
samba-3.6.1-77.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/samba-3.6.1-77.fc16

Comment 3 Fedora Update System 2011-12-13 21:57:48 UTC
Package samba-3.6.1-77.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing samba-3.6.1-77.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17083/samba-3.6.1-77.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-12-21 17:11:14 UTC
samba-3.6.1-77.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.