Does anyone know the file in which the entries for the samba shares are stored? For instance the drives or folders I am sharing.
If you insist, you can edit
/etc/samba/smb.conf I recommend that you make a backup copy or use
gedit which will make one (and only one) for you.
Further information regarding this file can be found here.
/etc/samba/smb.conf as per https://help.ubuntu.com/community/Samba/SambaServerGuide