How does your actual samba config look like or don't you have configured anything at all currently?
So for your problem of share b, you can add lines similar to the following ones on a per share basis (in this case your share b):
Quote:
hosts allow = 192.168.115.0/24 127.0.0.1
hosts deny = 0.0.0.0/0
But to get it right, you want to mix the...



