Samba can do it both ways. A program called smbclient can be used to see windows shares on a linux machine.
for more information, type on the command line
if you see a manual for smbclient, then u already have smbclient installed, just run
from the KMenu, to see the windows shares on your lan.