The ebuild doesn't run python_mod_{optimize,cleanup}, leaving orphaned cruft behind itself on unmerge/python upgrade etc. Patch attached.
Created attachment 118486 [details, diff] samba-3.0.24-r1.ebuild.diff
Solved in the latest version bump. Thanks for reporting! :)