summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-06-15 12:15:26 +0200
committerKarolin Seeger <kseeger@samba.org>2009-06-16 12:01:31 +0200
commitcd0703ae89de7722f57ba7b7049f2f48cba1e93f (patch)
treec4328b9c34d81f43ffd5468b32ee9d96bf46c5cb
parent5dd021374cf399278305e390629abc15296dd1fa (diff)
downloadsamba-cd0703ae89de7722f57ba7b7049f2f48cba1e93f.tar.gz
samba-cd0703ae89de7722f57ba7b7049f2f48cba1e93f.tar.xz
samba-cd0703ae89de7722f57ba7b7049f2f48cba1e93f.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) (cherry picked from commit 0669d66d81be3f265eab442c22b2881615d502db)
-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 cf7fd5a0f63..95445a7ed9f 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>