Hi mlp86
My name actually implies something about the freakish-looking (and subsequently buggy) code that results in me attempting to write in C++. Sorry to disapoint.
Aye, I tried that (with a few extra params passed), seems to work.
Quote:
root@localhost:/home/stuart# smbclient -L 192.168.0.1 -U Administrator
added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[HOME] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
C Disk
D Disk FILES
deskjet Printer HP DeskJet 690C
G$ Disk Default share
XP Disk XP
G Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Server Comment
--------- -------
Workgroup Master
--------- -------
root@localhost:/home/stuart#
|
The "Called name not present" stuff confuses me.. Okay, I am looking at my resolv.conf and I have:
Quote:
search net
nameserver 198.164.30.2
nameserver2 198.164.4.2
|
That looks normal to me. So on to my hosts file... I'm not sure I understand this file, it seems it has been a long time since I set this machine up.
Quote:
127.0.0.1 localhost
192.168.0.2 localhost.net localhost
|
I am going to recap. smbclient is able to see the shares available on DELL. my slack box thinks that DELL is way out on the internet (did it resolve through my ISPs DNS server?)
Thanks