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."
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 Directory of Z:\REC\Arquivo 15-12-2011 14:35 <DIR> . 06-06-2012 12:38 <DIR> .. 19-06-2012 16:12 <DIR> ARQUI~T6 Arquivo 2010 27-06-2012 16:17 <DIR> ARQUI~XX Arquivo 2011 27-06-2012 11:47 <DIR> ARQUI~J! Arquivo 2012 17-01-2012 10:44 <DIR> ARQUI~D@ Arquivo2007 18-06-2012 11:56 <DIR> ARQUI~3% Arquivo 2009 17-01-2012 10:58 <DIR> ARQUI~%F Arquivo 2008 17-01-2012 10:49 <DIR> 2006 0 File(s) 0 bytes 9 Dir(s) 816.222.208 bytes free> -----Original Message----- > From: Bruno Guerreiro > Sent: quarta-feira, 27 de Junho de 2012 11:03 > To: samba > Subject: [Samba] 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 contacteo> 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 individualor> 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.""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."
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.
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 > > To use the new hash (default): > > mangling method = hash2 > > Cheers, > > Jeremy."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."