#40 JFtp smb fails to connect to pcs using peer networking




Using JFtp V1.46 in a java142_05 environment, running
on top of eCS1.25 (eCS is an OEM version of the current
IBM OS/2 operating system).

JFtp starts OK but displays a local drive in the Remote
connections window. I would have expected the window to
be empty or to possibly attempt to reconnect to the
last Remote drive used

With a bit of playing around I finally got JFtp to
recognise my network which uses netbios over tcpip, an
smb based system.

I have 3 pcs on the network all using the eCS operating
system. I also have a Linksys NSLU2 - this device
allows USB2.0 drives attached to it to be "seen" as
network attached storage by the rest of the network.

I have no trouble accessing files stored on the drive
connected to the NSLU2 - might be worth noting that
this device runs an embedded linux operating system.

I cannot access any of the drives on any of the pcs on
the network though.

I can get the Remote Connection window to display my
network - it shows smb://THEBROWNS/

I can then click on that to see the 3 pcs on the
network - and the NSLU2 - but cannot access the pcs.
Trying to access the pc known on my network as THEWENCH
the result is:-

Could not change directory (jcifs.smb.SMBException:
Failed to negotiate dialect with server).

Attempting to access any other pc here produces the
same result.

Pardon my ignorance but is this an incompatibility
between smb and smb? - or am I doing something wrong?


  • Cyberdemon

    Cyberdemon - 2005-07-16

    Logged In: YES

    Hi! That may indeed be possible, there seem to be more bugs
    and missing protocol features in the jcifs api. Personally I
    can't even browse some networks or connect to some hosts
    (the famous MSBROWSE/unknown host messages) depending on
    what kind of master server is present. I'll should be able
    to tak a closer look at the problem (once again) soon, the
    last time I did there wasn't any helpful information on this
    topic, but maybe there's a newer jcifs version out there
    that works for you.

  • Cyberdemon

    Cyberdemon - 2005-07-20

    Logged In: YES

    I updated the jcifs version to 1.2.1 and made 1.47-pre2
    available via webstart, can you check if this brought you
    any improvement please?

  • Nobody/Anonymous

    Logged In: NO

    Tried 1.47-pre2 with no change - except it is now more
    difficult to cnnect to the NSLU2 device which did not have a
    problem previously.

    I would copy'n'paste the log entries but java apps are
    "unhelpful" in that respect - and the logs only seem to
    exist when the app is running, cannot find any log files
    containing error messages.

    To precis the error messages:-

    Client does not support the negoiated dialect."

    Looks like the same problem that the samba software had
    between builds 3.0.00 and 3.0.16 (?) where the support for
    the common smb/cifs dialect is missing.

    To retest the above I had to download the jnlp file and open
    it with an editor to locate the actual jar file to download
    - Sorry, but I hate WebStart and never use it unless I
    really have to. Useful for Windows users I guess though...



  • Cyberdemon

    Cyberdemon - 2013-02-25
    • status: open --> closed-out-of-date
    • milestone: -->
  • Cyberdemon

    Cyberdemon - 2013-02-25

    I'll close this because the underlying jcifs api has been upgraded quite a few times.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks