I still suggest to first check point number one.
Well you didn’t mentioned which protocol you are using but for samba follow this