Baddogg wrote:
> When attempting to use file_exists to
> peer into another hard drive using c$ (hidden share), I
> realized that name resolution was not happening on the SME
> box. I edited smb.conf and restarted the service pointing
> "wins server = 10.0.0.20", the LAN wins server...
>
> If I ping the IP, no problem; however, if I ping by net BIOS
> name, it comes back unknown host...
Windows blurs the distinction between an Internet name (DNS) and a windows file sharing name (netbios), but linux does not. You shouldn't use WINS names for anything other than file sharing - which is why it doesn't work with ping.
If you really must use netbios names, then lookup WINS using nmblookup, then ping by IP address.
Charlie