diff options
| author | Robert Ancell <robert.ancell@canonical.com> | 2014-03-24 13:13:47 +1300 |
|---|---|---|
| committer | Robert Ancell <robert.ancell@canonical.com> | 2014-03-24 13:13:47 +1300 |
| commit | 18ac04af667324dc9ac7a514e9bc7e3bdf76672e (patch) | |
| tree | c1f4a12da04f7cb235d475760edfd0d701e42d4f /tests | |
| parent | a2a3b719851a4f65a939243b5c958011f93ec60b (diff) | |
Call pam_acct_mgmt and pam_chauthtok when unlocking screen
Fixes LP: #1296443 (bzr r3736.2.1)
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 { |
