Bug 4451 - directory listing gives results which do not match the search pattern
Summary: directory listing gives results which do not match the search pattern
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23a
Hardware: x64 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2007-03-15 09:59 UTC by Alexander Ihlow (dead mail address)
Modified: 2022-06-10 09:40 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Ihlow (dead mail address) 2007-03-15 09:59:35 UTC
This issue is related to a Linux samba server (64 bit) with a windows client.

server$: uname -a
Linux blumeria 2.6.16-1.2069_FC4smp #1 SMP Tue Mar 28 12:48:20 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

server$: /usr/sbin/smbd -V
Version 3.0.23a-1.fc4.1

Server file system is ext3.

To verify, create 5000 files
on the Linux server (e.g., in directory ~/test)

for i in `seq -f "%05g" 1 5000`
  touch ~/test/01A_$i

The home directory is mounted on a windows PC (drive Y:)

Directory listing with a search pattern which does not match any file gives unexpected results: (The returned file list should be empty!)

dir y:\test\02*

15.03.2007  15:36                 0 01A_04050
15.03.2007  15:36                 0 01A_04051
15.03.2007  15:36                 0 01A_04052
15.03.2007  15:36                 0 01A_04053
15.03.2007  15:36                 0 01A_04777
15.03.2007  15:36                 0 01A_04778
15.03.2007  15:36                 0 01A_04779
15.03.2007  15:36                 0 01A_05000
              71 Datei(en)              0 Bytes
               0 Verzeichnis(se), 447.376.936.960 Bytes frei
Comment 1 Björn Jacke 2022-06-10 09:40:52 UTC
this is not a problem with current samba versions, don't have Windows XP though to test.