Open a terminal, and type;
Code:
cat /etc/samba/smb.conf
This is the config file which specifies how youre share works, and which is read by the samba daemon. It starts with a [global] section, and the sections after that are [sharename]. Removing the relevant part would remove the share.
For example, I have a slackware share:
Code:
[slackware]
comment = slackware tree and isos
path = /data/programs/slackware
read only = yes
guest only = yes
To remove the share, I would remove this whole section.