For accessing shared folder you need access via port 445.
For seeing shared resources you need at least ports 137-139.
My recommendation: Disable firewalls for the moment and catch the network traffic in your infrastucture and you will see, what porta are important.
Regards
Milos