FW: [jcifs] SmbFile.listFiles() AS400
Michael B Allen
mba2000 at ioplex.com
Fri Aug 4 16:40:46 GMT 2006
Can someone provide a capture of this?
http://jcifs.samba.org/capture.html
Mike
On Fri, 4 Aug 2006 12:08:27 +0530
"Darshan Shaligram" <DShaligram at aventail.com> wrote:
> Oops, sent directly to Michael instead of to the list, sorry.
>
> Michael B Allen wrote:
> > On Thu, 3 Aug 2006 09:35:37 +0000 (UTC) Max <max40 at gmx.de> wrote:
>
> > > I have in a directory 5 files. If I get the list, I have a
> > > listsize of 25. Each file occurs 5 times.
>
> > > Program is called on the PC! The server is a AS400/iSeries!
>
> > > Why?
> [...]
> > Never heard this one before. The only way to figure out what's
> > happening with any efficiency is to get a capture of Windows listing
> > the directory and a capture of jCIFS listing the directory. Then we
> > can compare.
>
> I've run into this one. AS/400 servers return broken responses to the
> FIND_FIRST/FIND_NEXT2 RPCs. I had to twiddle with SmbFile.java as in the
> attached patch to bypass the AS/400 weirdness. This is a monumental
> hack, but it may be worth a try.
>
> Darshan
>
--
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/
More information about the jcifs
mailing list