[jcifs] FW: listFiles produce multiple entrys for some files..

Clapham, Paul pclapham at core-mark.com
Thu Oct 29 17:39:32 MDT 2009


Hi Mike,

Sure, I can test it. By the way I ran that test with jcifs version 1.2.25b (the one resulting from the last iSeries-related problem) but it looks like the problem is with how the server behaves so I don't expect that the latest jcifs version would make any difference.

PC2 

-----Original Message-----
From: Michael B Allen [mailto:ioplex at gmail.com] 
Sent: October 29, 2009 16:35
To: Clapham, Paul
Cc: jcifs at samba.org
Subject: Re: FW: [jcifs] listFiles produce multiple entrys for some files..

Hi Paul,

Thanks for the capture. I can see the listing and how JCIFS is incorrectly stepping through the entries with redundant
TRANS2_FIND_FIRST2 requests. I don't know what the source of the problem is yet but I have added this to the TODO for futher investigation and getting a capture is an important prerequisite for doing that. When I have time, I'll take a look and see if I can fix.

Thanks for your feedback. When I get it resolved, I'll follow up and perhaps you can test the package.

Mike

On Thu, Oct 29, 2009 at 2:56 PM, Clapham, Paul <pclapham at core-mark.com> wrote:
> The job ran for about 15 seconds (and I closed all the other 
> applications that might be generating network traffic) so the file 
> wasn't nearly that big. I saved the data in Wireshark's format and 
> also exported a text file, both are attached.
>
> PC2
>
> -----Original Message-----
> From: Michael B Allen [mailto:ioplex at gmail.com]
> Sent: October 28, 2009 16:40
> To: Clapham, Paul
> Subject: Re: FW: [jcifs] listFiles produce multiple entrys for some 
> files..
>
> Get the ListFiles example ready to go, start the capture and then 
> immediately hit <enter> on the ListFiles example, see the bad output 
> and then immediately stop the capture. If the ListFiles example is 
> talking a long time make sure you're using a fully qualified DNS name:
>
>  java -cp jcifs-1.3.12.jar:. ListFiles 
> "smb://domain;username:password@dns.fqdn.name/path/to/dir/"
>
> If you can do this in a span of a few seconds the capture should be 
> fairly concise.
>
> Or just send me the 2 MB one. I can probably find the right frames.

--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list