Samba 3: added Samba 3.0.24 sources
[tomato.git] / release / src / router / samba3 / docs / htmldocs / manpages / pam_winbind.7.html
blob6949f9a2918d5c14bd51d4ad28abafe4a9cd39ab
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>pam_winbind</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="pam_winbind.7"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pam_winbind &#8212; PAM module for Winbind</p></div><div class="refsect1" lang="en"><a name="id2526277"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>
2 pam_winbind is a PAM module that can authenticate users against the local domain by talking to the Winbind daemon.
3 </p></div><div class="refsect1" lang="en"><a name="id2526300"></a><h2>OPTIONS</h2><p>
5 pam_winbind supports several options which can either be set in
6 the PAM configuration files or in the pam_winbind configuration
7 file situated at
8 <code class="filename">/etc/security/pam_winbind.conf</code>. Options
9 from the PAM configuration file take precedence to those from
10 the configuration file.
12 </p><div class="variablelist"><dl><dt><span class="term">debug</span></dt><dd><p>Gives debugging output to syslog.</p></dd><dt><span class="term">require_membership_of=[SID or NAME]</span></dt><dd><p>
13 If this option is set, pam_winbind will only succeed if the user is a member of the given SID or NAME. A SID
14 can be either a group-SID, a alias-SID or even a user-SID. It is also possible to give a NAME instead of the
15 SID. That name must have the form: <em class="parameter"><code>MYDOMAIN\\mygroup</code></em> or
16 <em class="parameter"><code>MYDOMAIN\\myuser</code></em>. pam_winbind will, in that case, lookup the SID internally. Note that
17 NAME may not contain any spaces. It is thus recommended to only use SIDs. You can verify the list of SIDs a
18 user is a member of with <span><strong class="command">wbinfo --user-sids=SID</strong></span>.
19 </p></dd><dt><span class="term">try_first_pass</span></dt><dd><p></p></dd><dt><span class="term">use_first_pass</span></dt><dd><p>
20 By default, pam_winbind tries to get the authentication token from a previous module. If no token is available
21 it asks the user for the old password. With this option, pam_winbind aborts with an error if no authentication
22 token from a previous module is available.
23 </p></dd><dt><span class="term">use_authtok</span></dt><dd><p>
24 Set the new password to the one provided by the previously stacked password module. If this option is not set
25 pam_winbind will ask the user for the new password.
26 </p></dd><dt><span class="term">krb5_auth</span></dt><dd><p>
28 pam_winbind can authenticate using Kerberos when winbindd is
29 talking to an Active Directory domain controller. Kerberos
30 authentication must be enabled with this parameter. When
31 Kerberos authentication can not succeed (e.g. due to clock
32 skew), winbindd will fallback to samlogon authentication over
33 MSRPC. When this parameter is used in conjunction with
34 <em class="parameter"><code>winbind refresh tickets</code></em>, winbind will
35 keep your Ticket Granting Ticket (TGT) uptodate by refreshing
36 it whenever necessary.
38 </p></dd><dt><span class="term">krb5_ccache_type=[type]</span></dt><dd><p>
40 When pam_winbind is configured to try kerberos authentication
41 by enabling the <em class="parameter"><code>krb5_auth</code></em> option, it can
42 store the retrieved Ticket Granting Ticket (TGT) in a
43 credential cache. The type of credential cache can be set with
44 this option. Currently the only supported value is:
45 <em class="parameter"><code>FILE</code></em>. In that case a credential cache in
46 the form of /tmp/krb5cc_UID will be created, where UID is
47 replaced with the numeric user id. Leave empty to just do
48 kerberos authentication without having a ticket cache after the
49 logon has succeeded.
51 </p></dd><dt><span class="term">cached_login</span></dt><dd><p>
52 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.
53 </p></dd><dt><span class="term">silent</span></dt><dd><p>
54 Do not emit any messages.
55 </p></dd></dl></div><p>
58 </p></div><div class="refsect1" lang="en"><a name="id2488181"></a><h2>SEE ALSO</h2><p><a href="wbinfo.1.html"><span class="citerefentry"><span class="refentrytitle">wbinfo</span>(1)</span></a>, <a href="winbindd.8.html"><span class="citerefentry"><span class="refentrytitle">winbindd</span>(8)</span></a>, <a 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="id2488289"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of Samba.</p></div><div class="refsect1" lang="en"><a name="id2488300"></a><h2>AUTHOR</h2><p>
59 The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by
60 the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
61 </p><p>This manpage was written by Jelmer Vernooij and Guenther Deschner.</p></div></div></body></html>