[Samba] Possibly a bug

Nir Soffer nirs at exanet.com
Wed Aug 14 04:32:01 GMT 2002


 

> -----Original Message-----
> From: Andrew Bartlett [mailto:abartlet at samba.org]
> Sent: Wednesday, August 14, 2002 3:27 PM
> To: Nir Soffer
> Cc: Andrew Bartlett; Marcelo Paternot Rodrigues; samba at samba.org
> Subject: Re: [Samba] Possibly a bug
> 
> 
> Nir Soffer wrote:
> > 
> > 
> > 
> > > -----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:
> 
> > > > 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.
> 
> infamous?  You might want to describe it a bit more, so I 
> know what you
> are talking about...
> 

2.2.3a didn't handle ADSs very well, so you would get, when copying a
JPG file with ADSs associated to it, 3 files when copying it to a Samba
share.

(ADSs created by some odd media microsoft thingy)

The 2 extra files would contain what would seem to the ordinary user
like crap, since it's just metadata, they would also have large
filenames, which explains the mangling.

The first file would remain intact.

2.2.4 doesn't show the same behaviour.

I think it was you who, when a coworker of me asked the same question,
answered that, when we asked the same question a few monthes ago.

Or was it Jerry?

Nir.

--
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