[jcifs] Problem connecting to NetWare

Michael B. Allen miallen at eskimo.com
Sun May 19 10:32:57 EST 2002


I have fixed this problem and added the Node Status fix from the other day.
I  cannot access the auditorymodels.org site at the moment but I'll put the
jar here: 

  http://www.eskimo.com/~miallen/jcifs/jcifs-0.6.4.jar

When the site's back up and everything is synced I'll do a real release.

Tony,

Please  let me know if this jar works for you. I would appreciate it if you
could  run  the FileOps.java example against your Netware server and let me
know how that goes too. If you have time.

Thanks,
Mike


On Sat, 18 May 2002 09:27:39 -0500
"Tony Thompson" <tony.thompson at stone-ware.com> wrote:

>  I  am attempting to connect to CIFS on a NetWare server and I am getting
"File  not  found"  exceptions.  I  can connect to CIFS on NetWare using my
Windows client and it works fine so, I don't think that it is a setup issue
in  my  environment.  I  used  the  SmbShell example application and I have
attached full debug of my session. Any advice would be appreciated. 

<snip>
> Share1> ls
> May 18 09:26:29.041 - smb find warning
>  find with path=\
> May 18 09:26:29.041 - smb sent
> Trans2FindFirst2[command=SMB_COM_TRANSACTION2,received=false,errorCode=0x0000000
> 0,flags=0x0018,flags2=0x0001,tid=14,pid=40042,uid=28,mid=7,wordCount=15,byteCoun
> t=17,totalParameterCount=16,totalDataCount=0,maxParameterCount=10,maxDataCount=1
> 200,maxSetupCount=0,flags=0x00,timeout=0,parameterCount=16,parameterOffset=66,pa
> rameterDisplacement=0,dataCount=0,dataOffset=82,dataDisplacement=0,setupCount=1,
> pad=1,pad1=0,searchAttributes=0x16,searchCount=15,flags=0x00,informationLevel=0x
> 104,searchStorageType=0,filename=\\*]

This is the problem. The filename parameter should be '\*' not
'\\*'. Fixed in jcifs-0.6.4.

> 
> May 18 09:26:29.051 - smb sent
> 00000: FF 53 4D 42 32 00 00 00 00 18 01 00 00 00 00 00  | SMB2...........|
> 00010: 00 00 00 00 00 00 00 00 0E 00 6A 9C 1C 00 07 00  |..........j.....|
> 00020: 0F 10 00 00 00 0A 00 B0 04 00 00 00 00 00 00 00  |....... ........|
> 00030: 00 00 00 10 00 42 00 00 00 00 00 01 00 01 00 11  |.....B..........|
> 00040: 00 00 16 00 0F 00 00 00 04 01 00 00 00 00 5C 5C  |..............\\|
> 00050: 2A 00                                            |*.              |

-- 
May The Source be with you.





More information about the jcifs mailing list