From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270831AbTHKCEL (ORCPT ); Sun, 10 Aug 2003 22:04:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270832AbTHKCEK (ORCPT ); Sun, 10 Aug 2003 22:04:10 -0400 Received: from obsidian.spiritone.com ([216.99.193.137]:61353 "EHLO obsidian.spiritone.com") by vger.kernel.org with ESMTP id S270831AbTHKCEG (ORCPT ); Sun, 10 Aug 2003 22:04:06 -0400 Date: Sun, 10 Aug 2003 19:03:38 -0700 From: "Martin J. Bligh" To: linux-kernel cc: henryy@karajishi.org Subject: [Bug 1075] New: corrupt dirctory when mounting smbfs from a WinXP box with unicode option Message-ID: <65080000.1060567418@[10.10.2.4]> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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,?.O?]AS7E85_6SA^X9\W\0-_#O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