[jcifs] jcifs problem and wins resolution
andrea.lanza at frameweb.it
andrea.lanza at frameweb.it
Thu Sep 26 20:14:27 EST 2002
First of all, thanks a lot for all your answers.
My problem is still the same: I am not able to browse the list of
workgroups and domain
entering just smb://
I don't understand why the Wins server is not queried for the
\01\02__MSBROWSE__\02<01>
since in my LAN the Wins server (SRVGE02) holds these entries:
Record Name Type IP Address State Static
Owner Version Expiration
--__MSBROWSE__- [01h] Other 192.168.69.7 Active
192.168.69.6 8 30/09/2002 16.47.30
FRAMEWEB [1Bh] Domain Master Browser 192.168.69.7 Active
192.168.69.6 C 30/09/2002 16.47.09
FRAMEWEB [00h] Workgroup 192.168.69.116 Active
192.168.69.6 5 02/10/2002 11.11.37
FRAMEWEB [1Ch] Domain Controller 192.168.69.6 Active
192.168.69.6 D 01/10/2002 16.43.52
FRAMEWEB [1Eh] Normal Group Name 192.168.69.116 Active
192.168.69.6 1 02/10/2002 11.11.37
INet~Services [1Ch] Domain Controller 192.168.69.7
Active 192.168.69.6 11 30/09/2002 16.47.43
IS~SRVGE03----- [00h] WorkStation 192.168.69.7 Active
192.168.69.6 10 30/09/2002 16.47.43
LINUX1 [00h] WorkStation 192.168.69.116 Active
192.168.69.6 33 02/10/2002 11.11.32
LINUX1 [03h] Messenger 192.168.69.116 Active
192.168.69.6 32 02/10/2002 11.11.32
LINUX1 [20h] File Server 192.168.69.116 Active
192.168.69.6 31 02/10/2002 11.11.32
SRVGE02 [00h] WorkStation 192.168.69.6 Active
192.168.69.6 7 01/10/2002 16.43.52
SRVGE02 [03h] Messenger 192.168.69.6 Active
192.168.69.6 3 01/10/2002 16.43.52
SRVGE02 [20h] File Server 192.168.69.6 Active
192.168.69.6 6 01/10/2002 16.43.52
SRVGE02$ [03h] Messenger 192.168.69.6 Active
192.168.69.6 2 01/10/2002 16.43.52
SRVGE03 [00h] WorkStation 192.168.69.7 Active
192.168.69.6 F 30/09/2002 16.47.06
SRVGE03 [03h] Messenger 192.168.69.7 Active
192.168.69.6 21 30/09/2002 16.47.29
SRVGE03 [20h] File Server 192.168.69.7 Active
192.168.69.6 20 30/09/2002 16.47.08
SRVGE03$ [03h] Messenger 192.168.69.7 Active
192.168.69.6 22 30/09/2002 16.47.29
My servlet runs on the SRVGE03 Windows 2000 Server PDC,
which also happens to be the DMB; IPCONFIG on SRVGE03 states also that
it is an H-node, and its Wins "client" configuration points to SRVGE02,
another
Windows 2000 Server DC running the Wins server service.
In conclusion:
I have the \01\02__MSBROWSE__\02<01> entry in my Wins Server
but even if I don't query the Wins Server:
I have the \01\02__MSBROWSE__\02<01> registered on my network (if I type
NBTSTAT -n on SRVGE03 I see the entry)
and I should get this name via Broadcast !
I specified the following properties in my servlet:
jcifs.Config.setProperty("jcifs.netbios.wins", "192.168.69.6");
jcifs.Config.setProperty("jcifs.netbios.baddr", "192.168.69.255");
jcifs.Config.setProperty("jcifs.resolveOrder", "WINS,DNS,BCAST");
any suggestion would be greatly appreciated !
Andrea
More information about the jcifs
mailing list