[jcifs] Problem using jcifs with iSeries (OS400) NetServer
Michael B Allen
mba2000 at ioplex.com
Wed Mar 17 20:12:06 GMT 2004
Egan Done said:
> Mar 17 14:37:27.406 - session service warning
> session established ok with 0.0.0.0<00>/172.25.7.6
> Mar 17 14:37:27.416 - smb sent
> SmbComNegotiate[command=SMB_COM_NEGOTIATE,received=false,errorCode=0x00000000,fl
> ags=0x0018,flags2=0x8003,tid=0,pid=19779,uid=0,mid=1,wordCount=0,byteCount=12,wo
> rdCount=0,dialects=NT LM 0.12]
>
> Mar 17 14:37:27.416 - smb sent
> 00000: FF 53 4D 42 72 00 00 00 00 18 03 80 00 00 00 00 | SMBr...........|
> 00010: 00 00 00 00 00 00 00 00 00 00 43 4D 00 00 01 00 |..........CM....|
> 00020: 00 0C 00 02 4E 54 20 4C 4D 20 30 2E 31 32 00 |....NT LM 0.12. |
>
> Mar 17 14:37:27.416 - smb transport warning
> new data read from socket
> Mar 17 14:37:42.928 - netbios socket closed
> NbtSocket[addr=0.0.0.0<00>/172.25.7.6,port=139,localport=2927]
> Exception in thread "main" jcifs.smb.SmbException: Timeout waiting for
> response
> from server. TCHR400C/172.25.7.6
> at jcifs.smb.SmbTransport.send(SmbTransport.java:735)
> at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:955)
The server isn't answering the negotiation. It might be a dialect problem.
JCIFS only supports the NT LM 0.12 dialect. Can you get a packet capture
of net use working successfully (preferrably from Win2000)? If the server
doesn't answer that's really the only way to see what the server is
expecting from it's clients.
http://jcifs.samba.org/capture.html
Mike
More information about the jcifs
mailing list