summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVieri <rentorbuy@yahoo.com>2019-01-23 13:30:18 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-01-23 14:11:02 +0100
commitc41228519a3902dd0453d3c80af0d172c86267b1 (patch)
treeec04c3e6944b07b9ff261b381602f20a15a1c6ea /net-fs/samba/files
parentwww-servers/tomcat-8.5.37: bump (diff)
downloadgentoo-c41228519a3902dd0453d3c80af0d172c86267b1.tar.gz
gentoo-c41228519a3902dd0453d3c80af0d172c86267b1.tar.bz2
gentoo-c41228519a3902dd0453d3c80af0d172c86267b1.zip
net-fs/samba: pam+winbind authentication
PAM winbind authentication configuration. Closes: https://bugs.gentoo.org/590374 Tested-by: Vieri <rentorbuy@yahoo.com> Signed-off-by: Vieri <rentorbuy@yahoo.com> Fixes: 0eef165 (net-fs/samba: pam+winbind authentication) Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10578 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-fs/samba/files')
-rw-r--r--net-fs/samba/files/4.4/system-auth-winbind.pam18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-fs/samba/files/4.4/system-auth-winbind.pam b/net-fs/samba/files/4.4/system-auth-winbind.pam
new file mode 100644
index 000000000000..8d6746b7aeb6
--- /dev/null
+++ b/net-fs/samba/files/4.4/system-auth-winbind.pam
@@ -0,0 +1,18 @@
+#%PAM-1.0
+# $Id$
+
+auth required pam_env.so
+auth sufficient pam_winbind.so
+auth sufficient pam_unix.so likeauth nullok use_first_pass
+auth required pam_deny.so
+
+account sufficient pam_winbind.so
+account required pam_unix.so
+
+password required pam_cracklib.so retry=3
+password sufficient pam_unix.so nullok use_authtok md5 shadow
+password required pam_deny.so
+
+session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
+session required pam_limits.so
+session required pam_unix.so