Bruno Guerreiro | 27 Jun 2012 12:02
Picon
Favicon

Filename mangling

Hello list,
Im trying to migrate some shares from an old 3.0.14 samba installation 
to a 3.5.10 and run into a mangling issue.
Both systems have mangling method = hash set.
Acessing  \\oldserver\rec\Arquivo\ARQUI~XX points me to 
\\oldserver\rec\Arquivo\Arquivo 2011
In the new server it points me to 
\\newserver\rec\Arquivo\Arquivo2007 . Notice the difference at the 
final directory level.
Also tried with  samba 3.6.5 and the results were similar.
Is there anything else I may be missing?

TIA,
Bruno

"Confidencialidade: Esta mensagem (e eventuais ficheiros anexos) é destinada exclusivamente às
pessoas nela indicadas e tem natureza confidencial. Se receber esta mensagem por engano, por favor
contacte o remetente e elimine a mensagem e ficheiros, sem tomar conhecimento do respectivo conteúdo e
sem reproduzi-la ou divulgá-la.

Confidentiality Warning: This e-mail message (and any attached files) is confidential and is intended
solely for the use of the individual or entity to whom it is addressed. lf you are not the intended recipient
of this message please notify the sender and delete and destroy all copies immediately."
--

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Bruno Guerreiro | 27 Jun 2012 17:52
Picon
Favicon

Re: Filename mangling

Hello again.
Just to add some more info, here are the directories in either servers.
The mangling results are completely different.

BRGDS,
Bruno Guerreiro

K:\REC\lsb\Arquivo>dir /x /AD
 Volume in drive K is org
 Volume Serial Number is D985-0117

 Directory of K:\REC\lsb\Arquivo

15-12-2011  15:35    <DIR>                       .
06-06-2012  12:38    <DIR>                       ..
25-06-2012  17:27    <DIR>          ARQUI~I5     Arquivo 2009
17-01-2012  11:49    <DIR>                       2006
19-06-2012  16:12    <DIR>          ARQUI~9B     Arquivo 2010
27-06-2012  11:18    <DIR>          ARQUI~P3     Arquivo 2011
26-06-2012  23:29    <DIR>          ARQUI~XX     Arquivo2007
17-01-2012  11:58    <DIR>          ARQUI~7D     Arquivo 2008
27-06-2012  11:16    <DIR>          ARQUI~YO     Arquivo 2012
               0 File(s)              0 bytes
               9 Dir(s)  53.543.575.552 bytes free

K:\REC\lsb\Arquivo>z:

Z:\REC\Arquivo>dir /x /AD
 Volume in drive Z is org2004$
 Volume Serial Number is D985-1A87
(Continue reading)

Jeremy Allison | 27 Jun 2012 18:02
Picon
Favicon

Re: Filename mangling

On Wed, Jun 27, 2012 at 04:52:08PM +0100, Bruno Guerreiro wrote:
> Hello again.
> Just to add some more info, here are the directories in either servers.
> The mangling results are completely different.

Yes, we changed the default mangling hash between 3.0.x and
3.2.x.

To use the old hash set:

mangling method = hash

To use the new hash (default):

mangling method = hash2

Cheers,

	Jeremy.
--

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

Bruno Guerreiro | 27 Jun 2012 18:20
Picon
Favicon

Re: Filename mangling

Hi Jeremy.
Thanks for your reply.
I know that, this results are with "mangling method = hash" in both 
servers.
Samba 3.5.10 and 3.6.5 give the same mangling results which in turn are 
different from 3.0.14

Has the hash method itself changed?

BRGDS,
Bruno

> -----Original Message-----
> From: Jeremy Allison [mailto:jra <at> samba.org]
> Sent: quarta-feira, 27 de Junho de 2012 17:03
> To: Bruno Guerreiro
> Cc: samba
> Subject: Re: [Samba] Filename mangling
> 
> On Wed, Jun 27, 2012 at 04:52:08PM +0100, Bruno Guerreiro wrote:
> > Hello again.
> > Just to add some more info, here are the directories in either
> servers.
> > The mangling results are completely different.
> 
> Yes, we changed the default mangling hash between 3.0.x and 3.2.x.
> 
> To use the old hash set:
> 
> mangling method = hash
(Continue reading)

Jeremy Allison | 27 Jun 2012 18:30
Picon
Favicon

Re: Filename mangling

On Wed, Jun 27, 2012 at 05:20:38PM +0100, Bruno Guerreiro wrote:
> Hi Jeremy.
> Thanks for your reply.
> I know that, this results are with "mangling method = hash" in both 
> servers.
> Samba 3.5.10 and 3.6.5 give the same mangling results which in turn are 
> different from 3.0.14
> 
> Has the hash method itself changed?

No, I didn't think so. But there have been many changes
between 3.0.x and 3.5.x and above.

Jeremy.
--

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

Bruno Guerreiro | 27 Jun 2012 18:32
Picon
Favicon

Re: Filename mangling

Ok,
So there may not exist an "easy fix" for this other than rebuilding all 
the links in the Excel and MS Access files?

BRGDS,
Bruno

> -----Original Message-----
> From: Jeremy Allison [mailto:jra <at> samba.org]
> Sent: quarta-feira, 27 de Junho de 2012 17:30
> To: Bruno Guerreiro
> Cc: jra; samba
> Subject: Re: [Samba] Filename mangling
> 
> On Wed, Jun 27, 2012 at 05:20:38PM +0100, Bruno Guerreiro wrote:
> > Hi Jeremy.
> > Thanks for your reply.
> > I know that, this results are with "mangling method = hash" in both
> > servers.
> > Samba 3.5.10 and 3.6.5 give the same mangling results which in turn
> > are different from 3.0.14
> >
> > Has the hash method itself changed?
> 
> No, I didn't think so. But there have been many changes between 3.0.x
> and 3.5.x and above.
> 
> Jeremy.

"Confidencialidade: Esta mensagem (e eventuais ficheiros anexos) é destinada exclusivamente às
(Continue reading)


Gmane