[SSSD] [PATCH] TESTS: extend PAM responder unit test

Pavel Reichl preichl at redhat.com
Thu Nov 5 16:01:08 UTC 2015


On 11/05/2015 09:17 AM, Lukas Slebodnik wrote:
> Let's image following use case:
> * cached authentication is enabled.
> * user "pamuser" has never authenticated to the machine and thus
>    password is not cached
> * for the first time the the data provider should be contacted.
>    ( storing cached password is done in DP, so you still need to
>      call sysdb_cache_password)
> * cached authentication shoudl be used for second following authentication.
>    and attribute lastOnlineAuthWithCurrentToken should be set be 1st
>    authentication so you needn't call pam_set_last_online_auth_with_curr_token.
>
> This test-case would test that attribute lastOnlineAuthWithCurrentToken is
> properly set.
>
> Is it clear?

I hope so, thanks.

Updated patches attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pam-srv-tests-split-pam_test_setup-so-it-can-be-reus.patch
Type: text/x-patch
Size: 2229 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151105/dc1c205b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-pam-srv-tests-Add-UT-for-cached-online-auth.patch
Type: text/x-patch
Size: 10320 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20151105/dc1c205b/attachment-0001.bin>


More information about the sssd-devel mailing list