[jcifs] unable to fetch workgroups under winxp

Moritz Post moritzpost at gmx.de
Thu Aug 7 02:57:02 EST 2003


hello there

i am trying to get a list of all available workgroups in my network
using a winxpmachine. no winsserver id present in my network. when using
"smb://" the only thing recieved is "Unknown host: ..__MSBROWSE__.<01>".

I run the same code on a wink2k box were it works out fine. i can access
shares on the mentioned winxp box with querys like
"smb://<server>/<share>/" but it is impossible to get a list of
workgroups. is there anything i have to configure to get the available
workgroups?
my conf is: winxp(sp1), java 1.4.2, jcifs 0.7.11. i have a pppoe
connection on the xp box and have connection sharing activated.

some network infos (sorry for german):

>ipconfig

Ethernetadapter LAN-Verbindung:

        Verbindungsspezifisches DNS-Suffix:
        IP-Adresse. . . . . . . . . . . . : 192.168.0.1
        Subnetzmaske. . . . . . . . . . . : 255.255.255.0
        Standardgateway . . . . . . . . . :


>nbtstat -a 192.168.0.1

LAN-Verbindung:
Knoten-IP-Adresse: [192.168.0.1] Bereichskennung: []

      NetBIOS-Namentabelle des Remotecomputers

       Name               Typ          Status
    ---------------------------------------------
    SOUL           <00>  EINDEUTIG   Registriert
    NOD            <00>  GRUPPE      Registriert
    SOUL           <20>  EINDEUTIG   Registriert
    NOD            <1E>  GRUPPE      Registriert
    NOD            <1D>  EINDEUTIG   Registriert
    ..__MSBROWSE__.<01>  GRUPPE      Registriert


any help would be greatfully appreciated

moritz post




More information about the jcifs mailing list