diff options
author | Sumit Bose <sbose@redhat.com> | 2010-04-19 11:59:09 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-07 16:38:23 -0400 |
commit | fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2 (patch) | |
tree | 9aa674b262b92ebe2f66c745a42f6cec4a0a1c18 /src/tests/sysdb-tests.c | |
parent | ca6aa84e20e445fb04dfce416a8c3a1912b26451 (diff) | |
download | sssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.tar.gz sssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.tar.xz sssd-fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2.zip |
Add support for delayed kinit if offline
If the configuration option krb5_store_password_if_offline is set to
true and the backend is offline the plain text user password is stored
and used to request a TGT if the backend becomes online. If available
the Linux kernel key retention service is used.
Diffstat (limited to 'src/tests/sysdb-tests.c')
-rw-r--r-- | src/tests/sysdb-tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c index c6661aef6..8557be5ad 100644 --- a/src/tests/sysdb-tests.c +++ b/src/tests/sysdb-tests.c @@ -2313,7 +2313,7 @@ static void cached_authentication_without_expiration(const char *username, req = sysdb_cache_auth_send(data, test_ctx->ev, test_ctx->sysdb, test_ctx->domain, data->username, (const uint8_t *) password, strlen(password), - test_ctx->confdb); + test_ctx->confdb, false); fail_unless(req != NULL, "sysdb_cache_password_send failed."); tevent_req_set_callback(req, test_search_done, data); @@ -2388,7 +2388,7 @@ static void cached_authentication_with_expiration(const char *username, req = sysdb_cache_auth_send(data, test_ctx->ev, test_ctx->sysdb, test_ctx->domain, data->username, (const uint8_t *) password, strlen(password), - test_ctx->confdb); + test_ctx->confdb, false); fail_unless(req != NULL, "sysdb_cache_password_send failed."); tevent_req_set_callback(req, test_search_done, data); |