[Samba] Possibly a bug

Nir Soffer nirs at exanet.com
Wed Aug 14 04:25:00 GMT 2002


 

> -----Original Message-----
> From: Andrew Bartlett [mailto:abartlet at samba.org]
> Sent: Wednesday, August 14, 2002 10:21 AM
> To: Marcelo Paternot Rodrigues
> Cc: samba at samba.org
> Subject: Re: [Samba] Possibly a bug
> 
> 
> Marcelo Paternot Rodrigues wrote:
> > 
> > I believe that I've found a bug on Samba 2.2.3a. Sure, 
> there is the 2.2.5
> > version out there, but reading the changelog I couldn't 
> find something that
> > looked like what I've found.
> 
> Changelogs certainly don't incidate all changes, and certainly don't
> convey the kind of detail you would require for that kind of 
> assertion. 
> We mainly list changes that we *expect* to be user-visible.
> 
> That said, you have a *very* interesting little problem here...
> 
> > Problem is:
> > 
> > Some files (very few of them, about 0,5%) are created, with 
> 2 another copies.
> > The file witch would be the real one is perfect. And we got 
> "for free" 2
> > corrupted copies of it, with the name mangled.
> > So, say we copy the file "testfile.txt". We should end with 
> just one file, but
> > what we got is something like
> > 
> > testfile.txt    -> This one is perfect
> > tes~1.txt       -> This one is useless (about 1 k in size)
> > tes2~1.txt      -> This one is useless too.
> 
> Mangling is a mess in Samba 2.2, particularly < 2.2.5.  It would be
> interesting to see if the new code in 2.2.5 (activated by 'mangling
> method = hash2' in your smb.conf) helps.  


I would guess that this actually caused by the infamous ADS bug.

Let me guess Marcelo, this usually happens on  picture files right ?

N.

--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"Father, why are all the children weeping? / They are merely crying son
 O, are they merely crying, father? / Yes, true weeping is yet to come"
        -- Nick Cave and the Bad Seeds, The Weeping Song



More information about the samba mailing list