Someone can correct me, if I'm wrong, but I don't believe Samba knows or cares anything about a Microsoft Windows "HomeGroup".
If you are being prompted for a username and password, I suspect if you use the machine name and a backslash followed by the Username and then the password for that username on the machine hosting the share it may work.
MachineName\UserName
Password