source: vendor/current/docs/manpages/pam_winbind.conf.5

Last change on this file was 989, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.7

File size: 6.3 KB
Line 
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"
31pam_winbind.conf \- Configuration file of PAM module for Winbind
32.SH "DESCRIPTION"
33.PP
34This configuration file is part of the
35\fBsamba\fR(7)
36suite\&.
37.PP
38pam_winbind\&.conf is the configuration file for the pam_winbind PAM module\&. See
39\fBpam_winbind\fR(8)
40for further details\&.
41.SH "SYNOPSIS"
42.PP
43The 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
46pam_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
49debug = yes|no
50.RS 4
51Gives debugging output to syslog\&. Defaults to "no"\&.
52.RE
53.PP
54debug_state = yes|no
55.RS 4
56Gives detailed PAM state debugging output to syslog\&. Defaults to "no"\&.
57.RE
58.PP
59require_membership_of = [SID or NAME]
60.RS 4
61If 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
63or
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
65wbinfo \-\-user\-sids=SID\&. This setting is empty by default\&.
66.sp
67This 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
70try_first_pass = yes|no
71.RS 4
72By 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
75krb5_auth = yes|no
76.RS 4
77pam_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
81krb5_ccache_type = [type]
82.RS 4
83When pam_winbind is configured to try kerberos authentication by enabling the
84\fIkrb5_auth\fR
85option, 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
89and
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
93When 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
96It is also possible to define custom filepaths and use the "%u" pattern in order to substitue the numeric user id\&. Examples:
97.PP
98krb5_ccache_type = DIR:/run/user/%u/krb5cc
99.RS 4
100This will create a credential cache file in the specified directory\&.
101.RE
102.PP
103krb5_ccache_type = FILE:/tmp/krb5cc_%u
104.RS 4
105This will create a credential cache file\&.
106.RE
107.sp
108Leave 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
111cached_login = yes|no
112.RS 4
113Winbind allows one to logon using cached credentials when
114\fIwinbind offline logon\fR
115is enabled\&. To use this feature from the PAM module this option must be set\&. Defaults to "no"\&.
116.RE
117.PP
118silent = yes|no
119.RS 4
120Do not emit any messages\&. Defaults to "no"\&.
121.RE
122.PP
123mkhomedir = yes|no
124.RS 4
125Create homedirectory for a user on\-the\-fly, option is valid in PAM session block\&. Defaults to "no"\&.
126.RE
127.PP
128warn_pwd_expire = days
129.RS 4
130Defines 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
140This man page is correct for version 3 of Samba\&.
141.SH "AUTHOR"
142.PP
143The 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
145This manpage was written by Jelmer Vernooij and Guenther Deschner\&.
Note: See TracBrowser for help on using the repository browser.