I remember seeing allowed ip or some such setting in smb.conf, might be worth checking the man page … edit: here