Samba 2.0.7 - mangled names problems

Ludek Babor Babor at Glavunion.cz
Fri Feb 9 10:34:18 GMT 2001


No answer since 15. December 2000, so I;m trying once again:

Hello,
after upgrade Samba from 1.9.17p4 to 2.0.7 I have problems with name 
mangling.

Changed parameters in SMB.CONF for new version:
oplocks = no
client code page = 852
local master = yes
all other parameters are the same as for 1.9.17p4.

I one directory I have these files:
0011_BAR_ISSUEAGRES.CSV
0011_MIR_STKGEN.CSV
0011_OLO_ISSUEMPSPEC.CSV
0011_RET_ISSUEAGRES.CSV

When I look to these files (DIR /X) from Windows95 or Windows NT 
Workstation clients I can see this:
0010_~GD.CSV    0010_BAR_ISSUECOMB.CSV
0010_~B4.CSV    0010_BAR_STKCOMB.CSV
0011_~%Y.CSV    0011_BAR_ISSUEAGRES.CSV
0011_~$%.CSV    0011_MIR_STKGEN.CSV
0011_~%L.CSV    0011_OLO_ISSUEMPSPEC.CSV
0011_~%Y.CSV    0011_RET_ISSUEAGRES.CSV

First problem:
Short names contains a percent sign (%) which cause problems while 
processing in batch files.

Second problem:
The same short name (0011_~%Y.CSV) for different long names 
(0011_RET_ISSUEAGRES.CSV and 0011_BAR_ISSUEAGRES.CSV).

Mangling parameters from SMB.CONF:
mangle case = no
mangled names = yes
case sensitive = no
default case = lower
preserve case = yes
short preserve case = yes
All these parameters are in [global] section.

I have never seen this problem under Samba 1.9.17p4 - similar files were
created every month. System is Alpha Server 8200 running Tru64 UNIX 4.0D
(AKA OSF/1, Digital UNIX). Any solution ?

Best regards
	Ludek Babor			E-Mail: Babor at Glavunion.cz
	System Manager			E-Mail: Ludek.Babor at cz.glaverbel.com
	Glavinfo G.I.E, Teplice		Tel: +420-417-503085 (+420-602-388003)
	Sklarska 450			Fax: +420-417-508085
	416 74 Teplice			FIDO: 2:423/74.13

	PGP key available from PGP key servers (http://www.pgp.net/pgpnet)

	I use MIME ISO-8859-2 friendly software.




More information about the samba mailing list