[Samba] Mangling problem
Andrew Bartlett
abartlet at samba.org
Sun Feb 16 01:37:32 GMT 2003
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 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030216/4d7f83db/attachment.bin
More information about the samba
mailing list