http://www.perlmonks.org?node_id=268342


in reply to Re: Scanning for windows shares
in thread Scanning for windows shares

This is not that good of a solution because you will still need some way to enumerate all the Windows type (meaning including Samba) machines on the network.

Check out the resource above, and the rest of Dave Roth's site. There should be something there.

Figuring out how to query a browse master might also get you some good results too.

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!