[Pkg-samba-maint] Bug#561545: samba: mangling = hash breaks long filenames - upstream 6939

Mike Young debian at elyoung.com
Fri Dec 18 03:35:28 UTC 2009


Package: samba
Version: 2:3.2.5-4lenny7
Severity: important
Tags: patch


This is a regression from etch.
It affects samba 3.2, 3.3, and 3.4

When using "mangling method=hash" versus the default hash2 samba will 
not serve long filenames. (Everything is mangled... even 8.3 files).

We upgraded last weekend and uncovered this bug. We (and many other 
shops) use "hash" to maintain backwards compatibility with DOS/Win31 
programs and Windows Shares (Yes, Yes, I know we should be upgrading. 
:-) )

Upstream has this problem listed as bug 6939 (Critical)
https://bugzilla.samba.org/show_bug.cgi?id=6939

There is a (very simple) patch attached to that bug.
(the patch is to negate the return value of must_mangle in 
mangle_hash.c)

Opening this Debian bug to get the fix into whichever release we can, so 
I can install an official (testing/backports if necessary) package on 
systems here.

If you need more info from me, or if I can help in anyway, please let me 
know.

--Mike Young


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/4 CPU cores)





More information about the Pkg-samba-maint mailing list