[jcifs] Problem in jcifs-1.2.25 with DFS

Michael B Allen ioplex at gmail.com
Thu Oct 23 04:13:42 GMT 2008


On Wed, Oct 22, 2008 at 10:14 PM,  <liuqiang at rst.ricoh.com> wrote:
>
> Good morning!
>  Sorry to bother you!
>  I am sorry that I do not know a formal way to post JCIFS problems I hav
> found recently.
>  If possible,Could you please tell me a formal way to send following
> message to your JCIFS members?
>
>    Now,I want to report two problems in latest JCIFS-1.2.25 source codes.
>    # I used your sample file(AuthListFiles.java) to do List File Test from
> downloaded JCIFS-1.2.25 zip file.
>    Problem1 : When the specified URL is like this form
> "smb://DomainName/DFSRoot/" and do list file
>               operation under this URL,JCIFS will throw the following
> exception and failed to list files.
>
>               But when I use Windows Explorer to access the above URL,it
> is successful to do list file operation.
>
>                Exception Contents:
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
> String index out of range: -26
>      at java.lang.String.substring(String.java:1762)
>      at java.lang.String.substring(String.java:1735)
>      at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:689)
>      at jcifs.smb.SmbFile.send(SmbFile.java:719)
>      at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1923)

Hi liuqiang,

Can you please send me a packet capture of this? Send it to me
directly. Do not post it to the mailing list.

The other errors you are seeing are probably caused by the preceding
one so we should simply look at each in order.

Thanks,
Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/


More information about the jcifs mailing list