Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297284 - samba-server-3.4 lack of PAM support
Summary: samba-server-3.4 lack of PAM support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 13:37 UTC by Csaba Tóth
Modified: 2011-03-10 19:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Tóth 2009-12-17 13:37:54 UTC
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
Comment 1 Patrick Lauer gentoo-dev 2010-01-07 20:38:17 UTC
+  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 :)
Comment 2 Csaba Tóth 2010-01-07 23:58:30 UTC
thanks man!