[Samba] Reproducible samba bug with directory name

Greg Freemyer greg.freemyer at gmail.com
Tue Jan 15 16:28:58 GMT 2008


I just recreated this bug in samba-3.0.26a-3.3.

It is as simple as creating a directory named "F-08-6104 International
Management Assoc." (without the quotes), then looking at the name of
the directory via XP.

I've done it twice now:
OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell
OpenSUSE 10.3 + samba-3.0.26a-3.3 + XFS, all from Novell

With both I get the same wrong name "FMIJ1P~A".

I don't have any other environments to test, maybe someone could try
other filesystems / OSes / Samba versions.

Thanks
Greg

On Jan 14, 2008 5:50 PM, Greg Freemyer <greg.freemyer at gmail.com> wrote:
> All,
>
> I have a stable fileserver that had a burp this morning.  (OpenSUSE
> 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell)
>
> A directory was created via a Rails App.  (like always on this machine).
>
> Normally a traditional long filename and mangled short name are
> created.  All is good even though I don't use short names for
> anything.
>
> Today, the longname somehow is reflecting what I assume is the mangled
> short name?  Very strange.
>
> From Linux Local, I see the long name I expect.
>
> From a OpenSUSE 10.3 cifs client, I see the long name I expect.
>
> From XP and possibly some other Windows OSes, I see just the mangled
> short name?
>
> Ie.  "dir /X" only has one name and its the mangled short name in the
> long name column.
>
> I have not yet tried to remedy this.  I'm guessing from a Windows
> client, I could do a rename to a random name, then rename back to what
> XFS has named it and all will be good.
>
> I can do that at any time, but if there is any diagnostic value in
> analyzing this, I'll hold off.
>
> Thanks
> Greg
> --
> Greg Freemyer
> Litigation Triage Solutions Specialist
> http://www.linkedin.com/in/gregfreemyer
> First 99 Days Litigation White Paper -
> http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
>
> The Norcross Group
> The Intersection of Evidence & Technology
> http://www.norcrossgroup.com
>



-- 
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com


More information about the samba mailing list