summaryrefslogtreecommitdiffstats
path: root/docs-xml
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-06-15 12:15:26 +0200
committerKarolin Seeger <kseeger@samba.org>2009-06-15 14:23:54 +0200
commit645121caa44d270220adc9cbd1230721eb741776 (patch)
treeff87ba5cbfbca95278dc82b657fca49189daab28 /docs-xml
parent1b4f37973cc7cbe0b8e5637bdb8b77b8738c06a7 (diff)
downloadsamba-645121caa44d270220adc9cbd1230721eb741776.tar.gz
samba-645121caa44d270220adc9cbd1230721eb741776.tar.xz
samba-645121caa44d270220adc9cbd1230721eb741776.zip
Add a synopsis section to the pam_winbind manpage.
Signed-off-by: Andreas Schneider <mail@cynapses.org> (cherry picked from commit 24f9f32fedb92f881658db856db15173e57af0bd) (cherry picked from commit 55df96313c5b966f41b0b5c426cf6a420cafa855) (cherry picked from commit f738862d9f419fec27c9fb15c880a452aff333d9)
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages-3/pam_winbind.7.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs-xml/manpages-3/pam_winbind.7.xml b/docs-xml/manpages-3/pam_winbind.7.xml
index db402ea22ce..c363be77aad 100644
--- a/docs-xml/manpages-3/pam_winbind.7.xml
+++ b/docs-xml/manpages-3/pam_winbind.7.xml
@@ -29,6 +29,31 @@
</refsect1>
<refsect1>
+ <title>SYNOPSIS</title>
+
+ <para>
+ Edit the PAM system config /etc/pam.d/service and modify it as the following example shows:
+ <programlisting>
+ ...
+ auth required pam_env.so
+ auth sufficient pam_unix2.so
+ +++ auth required pam_winbind.so use_first_pass
+ account requisite pam_unix2.so
+ +++ account required pam_winbind.so use_first_pass
+ +++ password sufficient pam_winbind.so
+ password requisite pam_pwcheck.so cracklib
+ password required pam_unix2.so use_authtok
+ session required pam_unix2.so
+ +++ session required pam_winbind.so
+ ...
+ </programlisting>
+
+ Make sure that pam_winbind is one of the first modules in the session part. It may retrieve
+ kerberos tickets which are needed by other modules.
+ </para>
+</refsect1>
+
+<refsect1>
<title>OPTIONS</title>
<para>