1 | '\" t
|
---|
2 | .\" Title: pam_winbind.conf
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 12/14/2012
|
---|
6 | .\" Manual: 5
|
---|
7 | .\" Source: Samba 3.6
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "PAM_WINBIND\&.CONF" "5" "12/14/2012" "Samba 3\&.6" "5"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * set default formatting
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" disable hyphenation
|
---|
15 | .nh
|
---|
16 | .\" disable justification (adjust text to left margin only)
|
---|
17 | .ad l
|
---|
18 | .\" -----------------------------------------------------------------
|
---|
19 | .\" * MAIN CONTENT STARTS HERE *
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .SH "NAME"
|
---|
22 | pam_winbind.conf \- Configuration file of PAM module for Winbind
|
---|
23 | .SH "DESCRIPTION"
|
---|
24 | .PP
|
---|
25 | This configuration file is part of the
|
---|
26 | \fBsamba\fR(7)
|
---|
27 | suite\&.
|
---|
28 | .PP
|
---|
29 | pam_winbind\&.conf is the configuration file for the pam_winbind PAM module\&. See
|
---|
30 | \fBpam_winbind\fR(8)
|
---|
31 | for further details\&.
|
---|
32 | .SH "SYNOPSIS"
|
---|
33 | .PP
|
---|
34 | The pam_winbind\&.conf configuration file is a classic ini\-style configuration file\&. There is only one section (global) where various options are defined\&.
|
---|
35 | .SH "OPTIONS"
|
---|
36 | .PP
|
---|
37 | pam_winbind supports several options which can either be set in the PAM configuration files or in the pam_winbind configuration file situated at
|
---|
38 | /etc/security/pam_winbind\&.conf\&. Options from the PAM configuration file take precedence to those from the pam_winbind\&.conf configuration file\&.
|
---|
39 | .PP
|
---|
40 | debug = yes|no
|
---|
41 | .RS 4
|
---|
42 | Gives debugging output to syslog\&. Defaults to "no"\&.
|
---|
43 | .RE
|
---|
44 | .PP
|
---|
45 | debug_state = yes|no
|
---|
46 | .RS 4
|
---|
47 | Gives detailed PAM state debugging output to syslog\&. Defaults to "no"\&.
|
---|
48 | .RE
|
---|
49 | .PP
|
---|
50 | require_membership_of = [SID or NAME]
|
---|
51 | .RS 4
|
---|
52 | 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:
|
---|
53 | \fIMYDOMAIN\e\emygroup\fR
|
---|
54 | or
|
---|
55 | \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
|
---|
56 | wbinfo \-\-user\-sids=SID\&. This setting is empty by default\&.
|
---|
57 | .RE
|
---|
58 | .PP
|
---|
59 | try_first_pass = yes|no
|
---|
60 | .RS 4
|
---|
61 | 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"\&.
|
---|
62 | .RE
|
---|
63 | .PP
|
---|
64 | krb5_auth = yes|no
|
---|
65 | .RS 4
|
---|
66 | 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
|
---|
67 | \fIwinbind refresh tickets\fR, winbind will keep your Ticket Granting Ticket (TGT) uptodate by refreshing it whenever necessary\&. Defaults to "no"\&.
|
---|
68 | .RE
|
---|
69 | .PP
|
---|
70 | krb5_ccache_type = [type]
|
---|
71 | .RS 4
|
---|
72 | When pam_winbind is configured to try kerberos authentication by enabling the
|
---|
73 | \fIkrb5_auth\fR
|
---|
74 | option, it can store the retrieved Ticket Granting Ticket (TGT) in a credential cache\&. The type of credential cache can be set with this option\&. Currently the only supported value is:
|
---|
75 | \fIFILE\fR\&. In that case a credential cache in the form of /tmp/krb5cc_UID will be created, where UID is replaced with the numeric user id\&. Leave empty to just do kerberos authentication without having a ticket cache after the logon has succeeded\&. This setting is empty by default\&.
|
---|
76 | .RE
|
---|
77 | .PP
|
---|
78 | cached_login = yes|no
|
---|
79 | .RS 4
|
---|
80 | Winbind allows to logon using cached credentials when
|
---|
81 | \fIwinbind offline logon\fR
|
---|
82 | is enabled\&. To use this feature from the PAM module this option must be set\&. Defaults to "no"\&.
|
---|
83 | .RE
|
---|
84 | .PP
|
---|
85 | silent = yes|no
|
---|
86 | .RS 4
|
---|
87 | Do not emit any messages\&. Defaults to "no"\&.
|
---|
88 | .RE
|
---|
89 | .PP
|
---|
90 | mkhomedir = yes|no
|
---|
91 | .RS 4
|
---|
92 | Create homedirectory for a user on\-the\-fly, option is valid in PAM session block\&. Defaults to "no"\&.
|
---|
93 | .RE
|
---|
94 | .PP
|
---|
95 | warn_pwd_expire = days
|
---|
96 | .RS 4
|
---|
97 | Defines number of days before pam_winbind starts to warn about passwords that are going to expire\&. Defaults to 14 days\&.
|
---|
98 | .RE
|
---|
99 | .SH "SEE ALSO"
|
---|
100 | .PP
|
---|
101 | \fBpam_winbind\fR(8),
|
---|
102 | \fBwbinfo\fR(1),
|
---|
103 | \fBwinbindd\fR(8),
|
---|
104 | \fBsmb.conf\fR(5)
|
---|
105 | .SH "VERSION"
|
---|
106 | .PP
|
---|
107 | This man page is correct for version 3 of Samba\&.
|
---|
108 | .SH "AUTHOR"
|
---|
109 | .PP
|
---|
110 | 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\&.
|
---|
111 | .PP
|
---|
112 | This manpage was written by Jelmer Vernooij and Guenther Deschner\&.
|
---|