diff options
| author | Robert Ancell <robert.ancell@canonical.com> | 2014-03-28 10:14:37 +0000 |
|---|---|---|
| committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-03-28 10:14:37 +0000 |
| commit | 310e0fda567d4285cccd934087befbb431f9d37f (patch) | |
| tree | cc62dabdbc91707291fc320eabd30827430ff335 /tests | |
| parent | c04ad838db5fcb8a315e3789312f3e6f8bb5bfc1 (diff) | |
| parent | 6558899315d23a9095219baf8ea1bbb7ee4edc19 (diff) | |
Call pam_acct_mgmt and pam_chauthtok when unlocking screen Fixes: 1296443
(bzr r3741)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_user_authenticator_pam.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_user_authenticator_pam.cpp b/tests/test_user_authenticator_pam.cpp index 64b9a8431..7a34fa6ab 100644 --- a/tests/test_user_authenticator_pam.cpp +++ b/tests/test_user_authenticator_pam.cpp @@ -45,6 +45,16 @@ int pam_authenticate(pam_handle_t *pamh, int flags) return strcmp(resp[0].resp, "password"); } +int pam_acct_mgmt(pam_handle_t *pamh, int flags) +{ + return PAM_SUCCESS; +} + +int pam_setcred(pam_handle_t *pamh, int flags) +{ + return PAM_SUCCESS; +} + namespace { |
