Samba installs pam_winbind.so and pam_smbpass.so to /usr/lib*/security instead of /lib*/security Reproducible: Always Samba 4 is installing the pam modules by default into libdir/security which is set in waf-utils_src_configure to /usr/$(get_libdir), but pam is unable to find it there. configure offers --with-pammodulesidr, it should be added to either the ebuild or to the waf-utils.eclass
Created attachment 356172 [details, diff] Patch for samba-4.0.8-r1.ebuild
+*samba-4.0.8-r2 (16 Aug 2013) + + 16 Aug 2013; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.7.ebuild, + -samba-4.0.8.ebuild, -samba-4.0.8-r1.ebuild, +samba-4.0.8-r2.ebuild, + -samba-4.1.0_rc1.ebuild, samba-4.1.0_rc2.ebuild: + Fixed installation of pam modules (bug #481262). Removed old (unfixed) + versions. +