1 | '\" t
|
---|
2 | .\" Title: pam_winbind.conf
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 10/25/2016
|
---|
6 | .\" Manual: 5
|
---|
7 | .\" Source: Samba 4.4
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "PAM_WINBIND\&.CONF" "5" "10/25/2016" "Samba 4\&.4" "5"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * Define some portability stuff
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
15 | .\" http://bugs.debian.org/507673
|
---|
16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
---|
17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
18 | .ie \n(.g .ds Aq \(aq
|
---|
19 | .el .ds Aq '
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .\" * set default formatting
|
---|
22 | .\" -----------------------------------------------------------------
|
---|
23 | .\" disable hyphenation
|
---|
24 | .nh
|
---|
25 | .\" disable justification (adjust text to left margin only)
|
---|
26 | .ad l
|
---|
27 | .\" -----------------------------------------------------------------
|
---|
28 | .\" * MAIN CONTENT STARTS HERE *
|
---|
29 | .\" -----------------------------------------------------------------
|
---|
30 | .SH "NAME"
|
---|
31 | pam_winbind.conf \- Configuration file of PAM module for Winbind
|
---|
32 | .SH "DESCRIPTION"
|
---|
33 | .PP
|
---|
34 | This configuration file is part of the
|
---|
35 | \fBsamba\fR(7)
|
---|
36 | suite\&.
|
---|
37 | .PP
|
---|
38 | pam_winbind\&.conf is the configuration file for the pam_winbind PAM module\&. See
|
---|
39 | \fBpam_winbind\fR(8)
|
---|
40 | for further details\&.
|
---|
41 | .SH "SYNOPSIS"
|
---|
42 | .PP
|
---|
43 | The pam_winbind\&.conf configuration file is a classic ini\-style configuration file\&. There is only one section (global) where various options are defined\&.
|
---|
44 | .SH "OPTIONS"
|
---|
45 | .PP
|
---|
46 | pam_winbind supports several options which can either be set in the PAM configuration files or in the pam_winbind configuration file situated at
|
---|
47 | /etc/security/pam_winbind\&.conf\&. Options from the PAM configuration file take precedence to those from the pam_winbind\&.conf configuration file\&.
|
---|
48 | .PP
|
---|
49 | debug = yes|no
|
---|
50 | .RS 4
|
---|
51 | Gives debugging output to syslog\&. Defaults to "no"\&.
|
---|
52 | .RE
|
---|
53 | .PP
|
---|
54 | debug_state = yes|no
|
---|
55 | .RS 4
|
---|
56 | Gives detailed PAM state debugging output to syslog\&. Defaults to "no"\&.
|
---|
57 | .RE
|
---|
58 | .PP
|
---|
59 | require_membership_of = [SID or NAME]
|
---|
60 | .RS 4
|
---|
61 | If this option is set, pam_winbind will only succeed if the user is a member of the given SID or NAME\&. A SID can be either a group\-SID, an alias\-SID or even an user\-SID\&. It is also possible to give a NAME instead of the SID\&. That name must have the form:
|
---|
62 | \fIMYDOMAIN\e\emygroup\fR
|
---|
63 | or
|
---|
64 | \fIMYDOMAIN\e\emyuser\fR\&. pam_winbind will, in that case, lookup the SID internally\&. Note that NAME may not contain any spaces\&. It is thus recommended to only use SIDs\&. You can verify the list of SIDs a user is a member of with
|
---|
65 | wbinfo \-\-user\-sids=SID\&. This setting is empty by default\&.
|
---|
66 | .sp
|
---|
67 | This option only operates during password authentication, and will not restrict access if a password is not required for any reason (such as SSH key\-based login)\&.
|
---|
68 | .RE
|
---|
69 | .PP
|
---|
70 | try_first_pass = yes|no
|
---|
71 | .RS 4
|
---|
72 | By default, pam_winbind tries to get the authentication token from a previous module\&. If no token is available it asks the user for the old password\&. With this option, pam_winbind aborts with an error if no authentication token from a previous module is available\&. If a primary password is not valid, PAM will prompt for a password\&. Default to "no"\&.
|
---|
73 | .RE
|
---|
74 | .PP
|
---|
75 | krb5_auth = yes|no
|
---|
76 | .RS 4
|
---|
77 | pam_winbind can authenticate using Kerberos when winbindd is talking to an Active Directory domain controller\&. Kerberos authentication must be enabled with this parameter\&. When Kerberos authentication can not succeed (e\&.g\&. due to clock skew), winbindd will fallback to samlogon authentication over MSRPC\&. When this parameter is used in conjunction with
|
---|
78 | \fIwinbind refresh tickets\fR, winbind will keep your Ticket Granting Ticket (TGT) uptodate by refreshing it whenever necessary\&. Defaults to "no"\&.
|
---|
79 | .RE
|
---|
80 | .PP
|
---|
81 | krb5_ccache_type = [type]
|
---|
82 | .RS 4
|
---|
83 | When pam_winbind is configured to try kerberos authentication by enabling the
|
---|
84 | \fIkrb5_auth\fR
|
---|
85 | option, it can store the retrieved Ticket Granting Ticket (TGT) in a credential cache\&. The type of credential cache can be controlled with this option\&. The supported values are:
|
---|
86 | \fIKEYRING\fR
|
---|
87 | (when supported by the system\*(Aqs Kerberos library and Kernel),
|
---|
88 | \fIFILE\fR
|
---|
89 | and
|
---|
90 | \fIDIR\fR
|
---|
91 | (when the DIR type is supported by the system\*(Aqs Kerberos library)\&. In case of FILE a credential cache in the form of /tmp/krb5cc_UID will be created \- in case of DIR you NEED to specify a directory\&. UID is replaced with the numeric user id\&.
|
---|
92 | .sp
|
---|
93 | When using the KEYRING type, the supported mechanism is
|
---|
94 | \(lqKEYRING:persistent:UID\(rq, which uses the Linux kernel keyring to store credentials on a per\-UID basis\&. This is the recommended choice on latest Linux distributions, as it is the most secure and predictable method\&.
|
---|
95 | .sp
|
---|
96 | It is also possible to define custom filepaths and use the "%u" pattern in order to substitue the numeric user id\&. Examples:
|
---|
97 | .PP
|
---|
98 | krb5_ccache_type = DIR:/run/user/%u/krb5cc
|
---|
99 | .RS 4
|
---|
100 | This will create a credential cache file in the specified directory\&.
|
---|
101 | .RE
|
---|
102 | .PP
|
---|
103 | krb5_ccache_type = FILE:/tmp/krb5cc_%u
|
---|
104 | .RS 4
|
---|
105 | This will create a credential cache file\&.
|
---|
106 | .RE
|
---|
107 | .sp
|
---|
108 | Leave empty to just do kerberos authentication without having a ticket cache after the logon has succeeded\&. This setting is empty by default\&.
|
---|
109 | .RE
|
---|
110 | .PP
|
---|
111 | cached_login = yes|no
|
---|
112 | .RS 4
|
---|
113 | Winbind allows one to logon using cached credentials when
|
---|
114 | \fIwinbind offline logon\fR
|
---|
115 | is enabled\&. To use this feature from the PAM module this option must be set\&. Defaults to "no"\&.
|
---|
116 | .RE
|
---|
117 | .PP
|
---|
118 | silent = yes|no
|
---|
119 | .RS 4
|
---|
120 | Do not emit any messages\&. Defaults to "no"\&.
|
---|
121 | .RE
|
---|
122 | .PP
|
---|
123 | mkhomedir = yes|no
|
---|
124 | .RS 4
|
---|
125 | Create homedirectory for a user on\-the\-fly, option is valid in PAM session block\&. Defaults to "no"\&.
|
---|
126 | .RE
|
---|
127 | .PP
|
---|
128 | warn_pwd_expire = days
|
---|
129 | .RS 4
|
---|
130 | Defines number of days before pam_winbind starts to warn about passwords that are going to expire\&. Defaults to 14 days\&.
|
---|
131 | .RE
|
---|
132 | .SH "SEE ALSO"
|
---|
133 | .PP
|
---|
134 | \fBpam_winbind\fR(8),
|
---|
135 | \fBwbinfo\fR(1),
|
---|
136 | \fBwinbindd\fR(8),
|
---|
137 | \fBsmb.conf\fR(5)
|
---|
138 | .SH "VERSION"
|
---|
139 | .PP
|
---|
140 | This man page is correct for version 3 of Samba\&.
|
---|
141 | .SH "AUTHOR"
|
---|
142 | .PP
|
---|
143 | The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|
---|
144 | .PP
|
---|
145 | This manpage was written by Jelmer Vernooij and Guenther Deschner\&.
|
---|