mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Bug 1075] New: corrupt dirctory when mounting smbfs from a WinXP box with unicode option
@ 2003-08-11  2:03 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-08-11  2:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: henryy

http://bugme.osdl.org/show_bug.cgi?id=1075

           Summary: corrupt dirctory when mounting smbfs from a WinXP box
                    with unicode option
    Kernel Version: 2.6.0-test2
            Status: NEW
          Severity: normal
             Owner: bugme-janitors@lists.osdl.org
         Submitter: henryy@karajishi.org


Distribution: Gentoo
Hardware Environment: Pentium3 735Mhz (OCed)
Software Environment: 

 Local: default fs codepage utf8, gcc 3.2.3, samba_3_0_20030720

 Remote: WinXP SP1, default Language English(Canada) codepage 850

Problem Description: 

When mounting a directory on the WinXP Box using unicode,codepage=unicode 
option, if a directory contain ertain combination of filenames, ls will fail to 
show all the files.

The problem does not exist if the remote machine is Linux with 
samba_3_0_20030720, unicode enabled. (tested on localhost)

The filenames that cause the problem are all ASCII compatible.

It is very hard to isolate which filename combos can cause the problem.

Steps to reproduce:

on Windows XP, extract the included files to a directory and put it on share:

begin 644 gash.tar.gz
M'XL(`'V:-C\``^V=86_;-A"&_5/8+T,"S!HIB=+Z,?.<H9B;;G/6KA@&0HF4
M6*TM&99B._]^LF)#79O2%FV=A.Y]@#I-4X!)'AW).Y[D^R";_-!K%LY=[ONR
M^%CR]%'8N\^?_LWWA91"%E_H<<$]1_28;/C[*GG(\F#!6&^1IKGN_ZTF432E
M^(9HN=_X_S5-/L0?8Y6DZI?B<_53-)TJ+M12GD5AG$?A]RI_G$=9E)];61;4
M':/PR3W/W>O?]AS7E85_6SA^X9\W\0-_#OQ_W?_O`[6TK7RM_<7LI[9_X7D2
M_DDH_4=S[EC%[R'/&AFCOG_;E0[\4U#ZW[S<%#'/A14L3W\-U/?OV![BGX32
M__O"?;IBHSB)K`_S^U./8>#?Q?Q/@W[_)TRV>U]@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0$R
M.O_#^0\)^_SC_'?+_])_B_W_B'\2]/Y;?/X'\C\2JOK_]5_7#8U1W[]`_D?$
M?Y[_W-`8!OM_CO-?&BK_^6S>T!@&_I'_$U'Y7][>-32&2?SC_3]IJ/RO9E%#
M8YC$/_H_:*CJ?QU;_^&?A,I_Q^9_[/](J-[_MV/QC^>_D5#Y[]C^'_?_D5#Y
M[]C\C_6?A.K]/SKF'_,_"=7S?SOF'_,_"36>_QK&=V97B$'_IXOS'QI*_YN7
MF\(Y%U^V>M7J]'L>H_?_P_DO"7O]BWX_C!?1;9Y-TI79$V'JQ[^P,?\#````
3`````````'`\_P+@'/B8`*``````
`
end

on local machine: mount the share as follows:

smbmount <sharename> <mount point> -o unicode,codepage=unicode

type ls:

only about 20 files will show up.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-11  2:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11  2:03 [Bug 1075] New: corrupt dirctory when mounting smbfs from a WinXP box with unicode option Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®