samba-3.5.8 for ARM
[tomato.git] / release / src-rt-6.x.4708 / router / samba-3.5.8 / docs / htmldocs / manpages / pam_winbind.conf.5.html
blobf3ac426c3cf546e00cb9a16e09ca2d67607875c5
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pam_winbind.conf</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="pam_winbind.conf.5"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pam_winbind.conf &#8212; Configuration file of PAM module for Winbind</p></div><div class="refsect1" lang="en"><a name="id2522891"></a><h2>DESCRIPTION</h2><p>This configuration file is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>
2 pam_winbind.conf is the configuration file for the pam_winbind PAM
3 module. See
4 <a class="citerefentry" href="pam_winbind.8.html"><span class="citerefentry"><span class="refentrytitle">pam_winbind</span>(8)</span></a>
5 for further details.
6 </p></div><div class="refsect1" lang="en"><a name="id2522921"></a><h2>SYNOPSIS</h2><p>
7 The pam_winbind.conf configuration file is a classic ini-style
8 configuration file. There is only one section (global) where
9 various options are defined.
10 </p></div><div class="refsect1" lang="en"><a name="id2522934"></a><h2>OPTIONS</h2><p>
12 pam_winbind supports several options which can either be set in
13 the PAM configuration files or in the pam_winbind configuration
14 file situated at
15 <code class="filename">/etc/security/pam_winbind.conf</code>. Options
16 from the PAM configuration file take precedence to those from
17 the pam_winbind.conf configuration file.
19 </p><div class="variablelist"><dl><dt><span class="term">debug = yes|no</span></dt><dd><p>Gives debugging output to syslog. Defaults to "no".</p></dd><dt><span class="term">debug_state = yes|no</span></dt><dd><p>Gives detailed PAM state debugging output to syslog. Defaults to "no".</p></dd><dt><span class="term">require_membership_of = [SID or NAME]</span></dt><dd><p>
20 If this option is set, pam_winbind will only succeed if the user is a member of the given SID or NAME. A SID
21 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
22 SID. That name must have the form: <em class="parameter"><code>MYDOMAIN\\mygroup</code></em> or
23 <em class="parameter"><code>MYDOMAIN\\myuser</code></em>. pam_winbind will, in that case, lookup the SID internally. Note that
24 NAME may not contain any spaces. It is thus recommended to only use SIDs. You can verify the list of SIDs a
25 user is a member of with <code class="literal">wbinfo --user-sids=SID</code>. This setting is empty by default.
26 </p></dd><dt><span class="term">try_first_pass = yes|no</span></dt><dd><p>
27 By default, pam_winbind tries to get the authentication token from a previous module. If no token is available
28 it asks the user for the old password. With this option, pam_winbind aborts with an error if no authentication
29 token from a previous module is available. If a primary password is not valid, PAM will prompt for a password.
30 Default to "no".
31 </p></dd><dt><span class="term">krb5_auth = yes|no</span></dt><dd><p>
33 pam_winbind can authenticate using Kerberos when winbindd is
34 talking to an Active Directory domain controller. Kerberos
35 authentication must be enabled with this parameter. When
36 Kerberos authentication can not succeed (e.g. due to clock
37 skew), winbindd will fallback to samlogon authentication over
38 MSRPC. When this parameter is used in conjunction with
39 <em class="parameter"><code>winbind refresh tickets</code></em>, winbind will
40 keep your Ticket Granting Ticket (TGT) uptodate by refreshing
41 it whenever necessary. Defaults to "no".
43 </p></dd><dt><span class="term">krb5_ccache_type = [type]</span></dt><dd><p>
45 When pam_winbind is configured to try kerberos authentication
46 by enabling the <em class="parameter"><code>krb5_auth</code></em> option, it can
47 store the retrieved Ticket Granting Ticket (TGT) in a
48 credential cache. The type of credential cache can be set with
49 this option. Currently the only supported value is:
50 <em class="parameter"><code>FILE</code></em>. In that case a credential cache in
51 the form of /tmp/krb5cc_UID will be created, where UID is
52 replaced with the numeric user id. Leave empty to just do
53 kerberos authentication without having a ticket cache after the
54 logon has succeeded. This setting is empty by default.
56 </p></dd><dt><span class="term">cached_login = yes|no</span></dt><dd><p>
57 Winbind allows to logon using cached credentials when <em class="parameter"><code>winbind offline logon</code></em> is enabled. To use this feature from the PAM module this option must be set. Defaults to "no".
58 </p></dd><dt><span class="term">silent = yes|no</span></dt><dd><p>
59 Do not emit any messages. Defaults to "no".
60 </p></dd><dt><span class="term">mkhomedir = yes|no</span></dt><dd><p>
61 Create homedirectory for a user on-the-fly, option is valid in
62 PAM session block. Defaults to "no".
63 </p></dd><dt><span class="term">warn_pwd_expire = days</span></dt><dd><p>
64 Defines number of days before pam_winbind starts to warn about passwords that are
65 going to expire. Defaults to 14 days.
66 </p></dd></dl></div><p>
68 </p></div><div class="refsect1" lang="en"><a name="id2483648"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="pam_winbind.8.html"><span class="citerefentry"><span class="refentrytitle">pam_winbind</span>(8)</span></a>, <a class="citerefentry" href="wbinfo.1.html"><span class="citerefentry"><span class="refentrytitle">wbinfo</span>(1)</span></a>, <a class="citerefentry" href="winbindd.8.html"><span class="citerefentry"><span class="refentrytitle">winbindd</span>(8)</span></a>, <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a></p></div><div class="refsect1" lang="en"><a name="id2483692"></a><h2>VERSION</h2><p>This man page is correct for version 3 of Samba.</p></div><div class="refsect1" lang="en"><a name="id2483703"></a><h2>AUTHOR</h2><p>
69 The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by
70 the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
71 </p><p>This manpage was written by Jelmer Vernooij and Guenther Deschner.</p></div></div></body></html>