Name mangling bug: was samba bug?

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Wed Sep 26 07:27:08 GMT 2001


Hi James,
this sounds familiar - I believe I looked at a wire trace,
and windows is dropping the trailing dots BEFORE it sends the 
request over the wire. so samba never sees the name foo..., thus
does not create it.
Don
-----Original Message-----
From: James Nord [mailto:teilo at cdt.luth.se]
Sent: Wednesday, September 26, 2001 9:34 AM
To: James Nord
Cc: samba at samba.org
Subject: Name mangling bug: was samba bug?


James Nord wrote:

> Hi,
>
> I stumbled accross the following just now (samba 2.2.2-pre)
>
> anyone else seen this? is it known?
>
> windows explorer make a new folder "foo..." -> gets renamed to "foo" 
> i.e. looses the trailing three dots..
>
> from unix make a dir "foo..." you see it listed in windows explrer.
>
> user at sambaserver# echo hello > foo.../hello.txt
>
> windows explorer  "foo..." dir is empty..
>
> /James
>
Okay the name choping is a windows (at least 2000) thing - tried 
creating documents from cmd.exe and cygwin tools, all loose the trailing 
"..."'s
Haven't tested on 9x/Dos/NT4

But samba normally mangles illegal names? why does it not do so here?

user at sambaserv > mkdir samba\hello\\ooo

user at win2000> dir foo
H:\temp\samba>dir
 Volume in drive H is homes_inh
 Volume Serial Number is 1205-4BBA

 Directory of H:\temp\samba

2001/09/26  15:29       <DIR>          .
2001/09/26  15:29       <DIR>          ..
2001/09/26  15:29       <DIR>          HELLO~O0
               0 File(s)              0 bytes
               3 Dir(s)   5 637 144 576 bytes free

/James

-- 
Technology is a word that describes something that doesn't work yet.
	Douglas Adams





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




More information about the samba mailing list