3

Identify remote windows server from shell script

view full story
linux-howto

http://unix.stackexchange.com – I need a way to Identify a windows SBS server, I have a script that mounts a file share on a SBS server, I need the script to positivity identify the server before mounting. It doesn't need to be secure, My setup is like this : My machine is on 192.168.5.17, the server is on 192.168.0.3, Because were on different subnets I cannot simply check the arp table for the machines mac address. running Nmap against the server reveals these open ports Starting Nmap 6.00 ( http://nmap.org ) at 2012-08-01 09:01 BST Nmap scan report for host.somewhere.local (192.168.0.3) Host is up (0.12s latency). Not (HowTos)