what kind of shares?
is it samba shares (i.e. windows file sharing)? Do you want to allow only certain users to connect?
If so, I think you should list the users in /etc/samba/smbusers. Maybe you also need to run a command to set a samba password, I don't really remember at the moment