mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 09:43:36 +08:00
doc: remove references to PAM_SM_* macros
Starting with commit a684595c0b
aka
Linux-PAM-1.3.0~14 (Remove "--enable-static-modules" option and support
from Linux-PAM), PAM_SM_* macros have no effect.
This commit is contained in:
parent
37b5259298
commit
3c10a035c9
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_acct_mgmt-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_ACCOUNT</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_acct_mgmt</function></funcdef>
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_authenticate-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_AUTH</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_authenticate</function></funcdef>
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_chauthtok-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_PASSWORD</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_chauthtok</function></funcdef>
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_close_session-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_SESSION</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_close_session</function></funcdef>
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_open_session-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_SESSION</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_open_session</function></funcdef>
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
<refsynopsisdiv>
|
||||
<funcsynopsis id='pam_sm_setcred-synopsis'>
|
||||
<funcsynopsisinfo>#define PAM_SM_AUTH</funcsynopsisinfo>
|
||||
<funcsynopsisinfo>#include <security/pam_modules.h></funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>int <function>pam_sm_setcred</function></funcdef>
|
||||
|
@ -216,12 +216,6 @@ gcc -shared -o pam_module.so pam_module.o -lpam
|
||||
</section>
|
||||
<section id="mwg-expected-of-module-auth">
|
||||
<title>Authentication management</title>
|
||||
<para>
|
||||
To be correctly initialized, <parameter>PAM_SM_AUTH</parameter>
|
||||
must be <command>#define</command>'d prior to including
|
||||
<function><security/pam_modules.h></function>. This will
|
||||
ensure that the prototypes for static modules are properly declared.
|
||||
</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="pam_sm_authenticate.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
@ -229,23 +223,11 @@ gcc -shared -o pam_module.so pam_module.o -lpam
|
||||
</section>
|
||||
<section id="mwg-expected-of-module-acct">
|
||||
<title>Account management</title>
|
||||
<para>
|
||||
To be correctly initialized, <parameter>PAM_SM_ACCOUNT</parameter>
|
||||
must be <command>#define</command>'d prior to including
|
||||
<function><security/pam_modules.h></function>. This will
|
||||
ensure that the prototypes for static modules are properly declared.
|
||||
</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="pam_sm_acct_mgmt.xml"/>
|
||||
</section>
|
||||
<section id="mwg-expected-of-module-session">
|
||||
<title>Session management</title>
|
||||
<para>
|
||||
To be correctly initialized, <parameter>PAM_SM_SESSION</parameter>
|
||||
must be <command>#define</command>'d prior to including
|
||||
<function><security/pam_modules.h></function>. This will
|
||||
ensure that the prototypes for static modules are properly declared.
|
||||
</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="pam_sm_open_session.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
@ -253,12 +235,6 @@ gcc -shared -o pam_module.so pam_module.o -lpam
|
||||
</section>
|
||||
<section id="mwg-expected-of-module-chauthtok">
|
||||
<title>Authentication token management</title>
|
||||
<para>
|
||||
To be correctly initialized, <parameter>PAM_SM_PASSWORD</parameter>
|
||||
must be <command>#define</command>'d prior to including
|
||||
<function><security/pam_modules.h></function>. This will
|
||||
ensure that the prototypes for static modules are properly declared.
|
||||
</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="pam_sm_chauthtok.xml"/>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user