diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-01 21:44:59 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-21 16:51:52 +0000 |
commit | 7d878c8471b56c018c04bfe9b83bea5fecd70f90 (patch) | |
tree | 7b1c2043590d9ee3870d2e95f8e06ec57e9f1f91 /modules/pam_localuser/pam_localuser.8.xml | |
parent | c6c3b3f9f7f7024fbbaff3edf0f57c8cb945b4c5 (diff) | |
download | pam-7d878c8471b56c018c04bfe9b83bea5fecd70f90.tar.gz pam-7d878c8471b56c018c04bfe9b83bea5fecd70f90.tar.bz2 pam-7d878c8471b56c018c04bfe9b83bea5fecd70f90.zip |
pam_localuser: return PAM_INCOMPLETE when pam_get_user returns PAM_CONV_AGAIN
Give the application a chance to handle PAM_INCOMPLETE.
* modules/pam_localuser/pam_localuser.c (pam_sm_authenticate): Return
PAM_INCOMPLETE instead of PAM_SERVICE_ERR when pam_get_user returns
PAM_CONV_AGAIN.
* modules/pam_localuser/pam_localuser.8.xml (RETURN VALUES): Document
it.
Diffstat (limited to 'modules/pam_localuser/pam_localuser.8.xml')
-rw-r--r-- | modules/pam_localuser/pam_localuser.8.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/pam_localuser/pam_localuser.8.xml b/modules/pam_localuser/pam_localuser.8.xml index 2a8b2e04..4d3daa9e 100644 --- a/modules/pam_localuser/pam_localuser.8.xml +++ b/modules/pam_localuser/pam_localuser.8.xml @@ -103,6 +103,16 @@ </varlistentry> <varlistentry> + <term>PAM_INCOMPLETE</term> + <listitem> + <para> + The conversation method supplied by the application + returned PAM_CONV_AGAIN. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>PAM_SERVICE_ERR</term> <listitem> <para> |