I've been trying to port my media center box from Ubuntu to Sabayon 11. The problem is getting my Samba 4.0.5 configuration up and running. On Ubuntu I had 4.0.5 custom compiled (sitting in the /opt/samba4 directory). First, I tried doing that on Sabayon but ran into a problem of having to also custom compile a slew of other libraries such as TDB (as it requires 1.2.11 and only 1.2.10 is in the repo).
Second I though I'd unmask the gentoo 4.0.4 but that massively broke my system. I think it was around the point I typed 'equo remove samba' that it uninstalled gnome, xbmc, sabayon-mce and a ton of other packages I needed.

I have everything back to normal however I still want to get my Samba4 + AD + DDNS back up and running.
How do I installed Samba 4.0.5 without breaking everything else?