summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenLinux/samba.pam
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenLinux/samba.pam')
-rw-r--r--packaging/Caldera/OpenLinux/samba.pam49
1 files changed, 49 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenLinux/samba.pam b/packaging/Caldera/OpenLinux/samba.pam
new file mode 100644
index 0000000000..821c9046a6
--- /dev/null
+++ b/packaging/Caldera/OpenLinux/samba.pam
@@ -0,0 +1,49 @@
+#%PAM-1.0
+#[For version 1.0 syntax, the above header is optional]
+#
+# The PAM configuration file for the `samba' service
+#
+# Note: Only one section should be active at a time.
+# Uncomment only those features needed. The default is a minimal implementation.
+#
+# --------------------------------------------------------------------------------
+# This example uses the standard System Files (/etc/passwd,/etc/shadow,/etc/group)
+# and uses a very vanila PAM configuration
+#
+# auth requisite pam_securetty.so
+# auth requisite pam_nologin.so
+# auth optional pam_env.so
+auth required pam_pwdb.so nullok nodelay # audit
+account required pam_pwdb.so nodelay # audit
+# session required pam_mkhomedir.so
+session required pam_pwdb.so nodelay
+password required pam_pwdb.so nodelay # shadow md5 audit
+#
+# --------------------------------------------------------------------------------
+# This example uses PAM smbpass
+#
+# auth requisite pam_securetty.so
+# auth requisite pam_nologin.so
+# auth optional pam_env.so
+# auth required pam_smbpass.so nodelay
+# account required pam_pwdb.so nodelay # audit
+# account sufficient pam_winbind.so
+# session required pam_mkhomedir.so
+# session required pam_pwdb.so nodelay
+# password required pam_pwdb.so shadow md5
+# password required pam_smbpass.so nodelay smbconf=/etc/samba.d/smb.conf
+#
+# --------------------------------------------------------------------------------
+# This example uses PAM WinBind
+#
+# auth requisite pam_securetty.so
+# auth requisite pam_nologin.so
+# auth optional pam_env.so
+# auth sufficient pam_winbind.so
+# auth sufficient pam_pwdb.so shadow nullok use_first_pass
+# account required pam_pwdb.so nodelay # audit
+# account sufficient pam_winbind.so
+# session required pam_mkhomedir.so
+# session required pam_pwdb.so nodelay
+# password required pam_pwdb.so shadow md5
+#