summaryrefslogtreecommitdiffstats
path: root/src/responder/common
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-04-21 13:48:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-06-23 13:40:11 +0200
commitf983b400bf4f6fb14a2174d6f58071e06e9ec832 (patch)
tree8f6a24d7408a399480f3a7596451a1daa6c31666 /src/responder/common
parentf21b3cce14055e77af8ccb98dd8e0fa1ec1f7944 (diff)
downloadsssd-f983b400bf4f6fb14a2174d6f58071e06e9ec832.tar.gz
sssd-f983b400bf4f6fb14a2174d6f58071e06e9ec832.tar.xz
sssd-f983b400bf4f6fb14a2174d6f58071e06e9ec832.zip
SYSDB: Open a timestamps cache for caching domains
For all domain types, except the local domain, open a connection to a new ldb file located at /var/lib/sss/db names timestamps_$domain.ldb. Constructs the ldb file path manually in sysdb_check_upgrade_02() but that should be acceptable because nobody should be running such an old cache these days anyway. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/responder/common')
-rw-r--r--src/responder/common/responder_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c
index 352c413be..67a7aa8f9 100644
--- a/src/responder/common/responder_common.c
+++ b/src/responder/common/responder_common.c
@@ -953,7 +953,8 @@ int sss_process_init(TALLOC_CTX *mem_ctx,
ret = sysdb_init(rctx, rctx->domains, false);
if (ret != EOK) {
SYSDB_VERSION_ERROR_DAEMON(ret);
- DEBUG(SSSDBG_FATAL_FAILURE, "fatal error initializing resp_ctx\n");
+ DEBUG(SSSDBG_FATAL_FAILURE,
+ "fatal error initializing sysdb connection\n");
goto fail;
}