From fc7ec12f1b851bab1eedf3ecdcb094ea80b46dd2 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 19 Apr 2010 11:59:09 +0200 Subject: 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. --- src/tests/sysdb-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/sysdb-tests.c') 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); -- cgit