From ad35c1852e4fe3920acc63eb9ada409af0fb7d60 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 21 Jan 2010 10:46:14 +0100 Subject: Check cache_credentials in sysdb_cache_auth_send() --- server/tests/sysdb-tests.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'server/tests/sysdb-tests.c') diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c index 11fde6fe2..3cd5e7dcc 100644 --- a/server/tests/sysdb-tests.c +++ b/server/tests/sysdb-tests.c @@ -130,6 +130,15 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx) return ret; } + val[0] = "TRUE"; + ret = confdb_add_param(test_ctx->confdb, true, + "config/domain/LOCAL", "cache_credentials", val); + if (ret != EOK) { + fail("Could not initialize LOCAL domain"); + talloc_free(test_ctx); + return ret; + } + ret = confdb_get_domain(test_ctx->confdb, "local", &test_ctx->domain); if (ret != EOK) { fail("Could not retrieve LOCAL domain"); -- cgit