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

Michael B Allen ioplex at gmail.com
Thu Oct 29 17:35:13 MDT 2009

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.


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

More information about the jCIFS mailing list