diff --git a/lib/libpam/libpam/pam_mod_misc.h b/lib/libpam/libpam/pam_mod_misc.h index 5e7b01f34fa9..611aa72f2575 100644 --- a/lib/libpam/libpam/pam_mod_misc.h +++ b/lib/libpam/libpam/pam_mod_misc.h @@ -35,7 +35,8 @@ */ enum opt { PAM_OPT_DEBUG, PAM_OPT_NO_WARN, PAM_OPT_ECHO_PASS, PAM_OPT_USE_FIRST_PASS, PAM_OPT_TRY_FIRST_PASS, PAM_OPT_USE_MAPPED_PASS, - PAM_OPT_EXPOSE_ACCOUNT, PAM_OPT_STD_MAX /* XXX */ }; + PAM_OPT_TRY_MAPPED_PASS, PAM_OPT_EXPOSE_ACCOUNT, + PAM_OPT_STD_MAX /* XXX */ }; #define PAM_MAX_OPTIONS 32 diff --git a/lib/libpam/libpam/pam_std_option.c b/lib/libpam/libpam/pam_std_option.c index 95b442eee47e..9c95ab95509a 100644 --- a/lib/libpam/libpam/pam_std_option.c +++ b/lib/libpam/libpam/pam_std_option.c @@ -42,6 +42,7 @@ struct opttab std_options[PAM_MAX_OPTIONS] = { { "use_first_pass", PAM_OPT_USE_FIRST_PASS }, { "try_first_pass", PAM_OPT_TRY_FIRST_PASS }, { "use_mapped_pass", PAM_OPT_USE_MAPPED_PASS }, + { "try_mapped_pass", PAM_OPT_TRY_MAPPED_PASS }, { "expose_account", PAM_OPT_EXPOSE_ACCOUNT }, { NULL, 0 } }; diff --git a/lib/libpam/libpam/security/pam_mod_misc.h b/lib/libpam/libpam/security/pam_mod_misc.h index 5e7b01f34fa9..611aa72f2575 100644 --- a/lib/libpam/libpam/security/pam_mod_misc.h +++ b/lib/libpam/libpam/security/pam_mod_misc.h @@ -35,7 +35,8 @@ */ enum opt { PAM_OPT_DEBUG, PAM_OPT_NO_WARN, PAM_OPT_ECHO_PASS, PAM_OPT_USE_FIRST_PASS, PAM_OPT_TRY_FIRST_PASS, PAM_OPT_USE_MAPPED_PASS, - PAM_OPT_EXPOSE_ACCOUNT, PAM_OPT_STD_MAX /* XXX */ }; + PAM_OPT_TRY_MAPPED_PASS, PAM_OPT_EXPOSE_ACCOUNT, + PAM_OPT_STD_MAX /* XXX */ }; #define PAM_MAX_OPTIONS 32