Gerald Meazell finally wrote on Mon December 13 2004 09:00 am:
> MachineA is my Linux box with Samba. MachineB is my XP Pro box.
> MachineC is an XP Pro box outside the local network and connects via
> VPN. MachineA is in the hosts file of both MachineB and MachineC. Here
> is what I get as results from netbios commands
>
> From MachineB:
>
> NET VIEW \\MachineA
> System Error 53
>
> NET VIEW \\192.168.X.Y (MachineA's IP address)
> List of shares
>
> NET USE X: \\192.168.X.Y\MyShare myPWD /USER:myID
> Command completed successfully
>
> NET USE X: \\MachineA\MyShare myPWD /USER:myID
> System Error 53 or System error 5 access is denied.
>
Hmm. I'm no expert on Windows' NET command error numbers (or Windows
itself), but it does seem coincidental (probably not) that your problem
appears to be name resolution, the error number is 53, and the standard
port for DNS is 53. Without going to TCP/IP Advanced properties for your
NIC (though you may try that if nothing else works; click on the WINS tab
and try entering the IP addresses there, or import LMHOSTS file), are you
using the '\[winxp_dir]\system32\drivers\etc\lmhosts' or the 'hosts' file
in that same directory? You probably need to be updating lmhosts.
Apparently Windows XP will only look at those files if the normal means of
name resolution (DNS/WINS) fails. (Note that Samba can also use an lmhosts
file (usually in /etc/samba/lmhosts). Are you able to access MachineB from
MachineA using hostname?)
> From MachineC:
>
> NET VIEW \\MachineA
> System Error 53
>
> NET VIEW \\192.168.X.Y (MachineA's IP address)
> System Error 53
>
I've never used a VPN, but I thought it allowed you to treat the network as
though it were totally local (as in virtually private), therefore being
able to use private IP addresses for access. Obviously this isn't working
here, since you can't access MachineA from MachineC (via VPN) with either
private IP or hostname. That sounds like a configuration error either in
VPN or DNS or routing or firewall or somewhere else, but again I've never
used a VPN so I can't say with any certainty there.
> While writing this, it occurred to me that in MachineB's hosts file,
> MachineA is mapped to the external IP address of the router.
MachineA needs to be mapped to its local IP address (at least in MachineB).
If it's the router, then it needs to be mapped to its local IP address, not
the Internet/WAN IP address. Or so I would think

. Of course there
could be some sort of routing problems within your network. And a slew of
other things.
Cheers -
jab3