In the samba-server-3.4.3-r1 ebuild the pam support is disabled. It can enabled in the samba-libs package, but its not the same! The patch: minerva samba-server # diff -u samba-server-3.4.3-r1.ebuild.orig samba-server-3.4.3-r1.ebuild --- samba-server-3.4.3-r1.ebuild.orig 2009-12-17 14:34:03.570434663 +0100 +++ samba-server-3.4.3-r1.ebuild 2009-12-17 13:58:27.610436113 +0100 @@ -136,7 +136,7 @@ --without-automount \ --without-cifsmount \ --without-cifsupcall \ - --without-pam \ + --with-pam \ --without-pam_smbpass \ $(use_with syslog) \ $(use_with quota quotas) \ or it can do with a use flag. Without this for example the pam_mkhomedir.so didn't run, because the winbind didn't call pam. Reproducible: Always
+ 07 Jan 2010; Patrick Lauer <patrick@gentoo.org> files/3.4/samba.confd, + +samba-server-3.4.4-r1.ebuild: + Adding pam support for #297284, fixing init scripts to kill multiple + instances. Thanks to Lars Wendler and kerframil. I hope that makes things work as you want :)
thanks man!