blob: 821c9046a6fcd08ccf9e12601b8e48baf59f19c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
#
|