On Mon, 2003-02-10 at 19:38, John H Terpstra wrote:
> On Mon, 10 Feb 2003, Ivan Gustin wrote:
> 
> > Hi,
> >
> > I have a strange problem with Samba on RedHat 7.2. In one directory there is
> > many files with similar long file name (10+ digit file name for many
> > pictures). When I dir this directory, I can see many files with different
> > long file name, but with exactly the same short file name. There is about
> > 3-5 files with the same 8.3 DOS file name.
> >
> > I really don't understand how can it happen and what is cause of that
> > problem. I have Samba 2.2.3, so I put Samba 2.2.7, but the problem is still
> > the same. I can't say that is mangling bug within Samba, but I never see
> > such
> > situation.
> 
> Have you seen this problem on MS Windows NT4/2000/XP or is it unique to
> samba?

This is a known issue with Samba, relating to the quality of the hash
function used to mangle file names.   You can set 'mangle method =
hash2' in your smb.conf to 'fix' it.  (chances of a hash collision are
greatly reduced).  This setting is now the default in Samba 3.0, but
make sure you read the smb.conf manpage section on this, as it *will*
change all your mangled (short) names.

Andrew Bartlett
-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to