[Samba] Wrong results in dir listing with wildcard

Tom Reijnders reijnders at tor.nl
Thu Jun 10 15:01:09 MDT 2010


Confirmed: (I liked Blake's 7   ;-) )

Samba version Version 3.5.3-1.1-2362-SUSE-CODE11 on openSUSE 11.1 (x86_64)


1. Created the temp files
2. Logged in on Windows XP machine


- dir au* lists the au file plus 1 file that starts with all....!!!

T:\tmp>dir au*
De volumenaam van station T is landata
Het volumenummer is 0AD1-12E6

Map van T:\tmp

28-03-2008  12:42                 4 allinvest_4.5.1i.20080328 1139.sql
10-06-2010  21:55                 4 authenejbcp.bat
10-06-2010  21:55                 4 authenclientcp.bat
10-06-2010  21:55                 4 authencp.bat


- dir ac* lists the exact same files as mentioned below (so including
the authenejbcp.bat)

T:\tmp>dir ac*
De volumenaam van station T is landata
Het volumenummer is 0AD1-12E6

Map van T:\tmp

10-06-2010  21:55                 4 authenejbcp.bat
10-06-2010  21:55                 4 ActivePython-2.6.5.12-win32-x86.msi
10-06-2010  21:55                 4
ActiveTcl8.6.0.0b2.291226-win32-ix86-threaded.exe
10-06-2010  21:55                 4
ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi



Guy Rouillier schreef:
> My Samba server is a new install of Ubuntu 10.4 x86 with Samba 3.4.7. 
> Samba is configured as standalone, and shares only a single directory 
> /data for backup purposes.
>
> I stumbled across this issue while trying to get my original problem 
> fixed (which I did, thanks to this helpful list.)  Run the following 
> in a temporary directory:
>
> echo abc > ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi
> echo abc > ActivePython-2.6.5.12-win32-x86.msi
> echo abc > ActiveTcl8.6.0.0b2.291226-win32-ix86-threaded.exe
> echo abc > authenclientcp.bat
> echo abc > authencp.bat
> echo abc > authenejbcp.bat
>
> I put this into a batch file.  By trial and error, I discovered that 
> the results are the same if you (1) just run from a shell script on 
> the Samba server, or (2) run it on Windows and copy the results to the 
> Samba server.
>
> With those files in place, from a Windows box, I get the following 
> results from issuing directory listings with a wildcard:
>
> N:\temp>dir ac*
>  Volume in drive N is data
>  Volume Serial Number is 0160-027E
>
>  Directory of N:\temp
>
> 06/10/2010  03:33 PM                 6 authenejbcp.bat
> 06/10/2010  03:33 PM                 6 
> ActivePython-2.6.5.12-win32-x86.msi
> 06/10/2010  03:33 PM                 6 
> ActiveTcl8.6.0.0b2.291226-win32-ix86-threaded.exe
> 06/10/2010  03:33 PM                 6 
> ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi
>                4 File(s)             24 bytes
>                0 Dir(s)  533,019,426,816 bytes free
>
> N:\temp>dir au*
>  Volume in drive N is data
>  Volume Serial Number is 0160-027E
>
>  Directory of N:\temp
>
> 06/10/2010  03:33 PM                 6 authenejbcp.bat
> 06/10/2010  03:33 PM                 6 authencp.bat
> 06/10/2010  03:33 PM                 6 authenclientcp.bat
>                3 File(s)             18 bytes
>                0 Dir(s)  533,019,484,160 bytes free
>
> Notice that authenejbcp.bat is included in both listings.  If someone 
> else can confirm they are seeing the same thing, I'll file a bug 
> report.  Thanks.
>

-- 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196





More information about the samba mailing list