Disclaimer: I haven't a clue what a SAMBA host is.
Is there a system command that lists the SAMBA hosts? If there is,
you should be able to run a Process and read and parse it's output.
If this is an option, be sure to go through all sections of
When Runtime.exec() won't before you even start coding.