summaryrefslogtreecommitdiff
path: root/docs-xml/manpages-3
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 13:01:08 +0200
commit24f9f32fedb92f881658db856db15173e57af0bd (patch)
treeac38ac4c580078f223a1040cafca4c5d2d5882c3 /docs-xml/manpages-3
parentf92269a6ce220e12b9b80c15ed3fa2e9e6b4a6dc (diff)
downloadsamba-24f9f32fedb92f881658db856db15173e57af0bd.tar.gz
samba-24f9f32fedb92f881658db856db15173e57af0bd.tar.bz2
samba-24f9f32fedb92f881658db856db15173e57af0bd.zip
Add a synopsis section to the pam_winbind manpage.
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'docs-xml/manpages-3')
-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 ff88de8197..acf9c688f8 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>