Seems a bit odd that UFW is setup to allow you to serve Samba but if you want to browse a network it's not possible. For example if you're running a laptop and go between multiple WLANs then you don't want to be constantly messing with rules to make it possible to view network shares.
On Lucid 32 using 0.30 from repos when I do a :
sudo ufw allow Samba
I get :
ERROR: Could not find a profile matching 'Samba'
Seems a bit odd that UFW is setup to allow you to serve Samba but if you want to browse a network it's not possible. For example if you're running a laptop and go between multiple WLANs then you don't want to be constantly messing with rules to make it possible to view network shares.