TDB corruption with Samba 2.2.3a

Keith Owens kaos at
Tue Mar 19 02:44:02 GMT 2002

On Tue, 19 Mar 2002 08:03:22 +0100, 
Martin Apel <apel at> wrote:
>On Wed, 13 Mar 2002, Jeremy Allison wrote:
>> On Wed, Mar 13, 2002 at 05:25:13AM -0500, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
>> > We are also experiencing the TDB corruptions, as reported in the samba log
>> > files. At first there didn't seem to be an consequence, but we are now
>> > beginning to see user's not being able to login to the machine. As a
>> > workaround we have been just deleting the secrets.tdb file, restarting
>> > samba, and rejoining the domain.
>> >
>> > Our server if very similar to Martin's (Samba 2.2.3a + Linux 2.4.17 + XFS).
>> > I'll post more details soon.

There was a bug in XFS mmap handling in 2.4.17 with these symptoms.
mmapped files would be fine until there was heavy load or the machine
shut down, then blocks would be corrupt.
Steve Lord fixed it (or at least my test case no longer tripped the
problem) on approx January 28, 2002.  The patch which fixed my test is

More information about the samba-technical mailing list