Add a synopsis section to the pam_winbind manpage.
authorAndreas Schneider <mail@cynapses.org>
Mon, 15 Jun 2009 10:15:26 +0000 (12:15 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Jun 2009 11:01:08 +0000 (13:01 +0200)
Signed-off-by: Andreas Schneider <mail@cynapses.org>
docs-xml/manpages-3/pam_winbind.7.xml

index ff88de8197609fa01afcd2ce41e183de9042d4a0..acf9c688f8366dc0ce0e162d39c5e8fae9aab887 100644 (file)
 
 </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>