summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-04-21 11:01:59 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-06-23 13:40:11 +0200
commitf21b3cce14055e77af8ccb98dd8e0fa1ec1f7944 (patch)
treee434b957faf3e3d5c8577c84781a6dfd795c765a /src/tests
parent72dbcd0a3361f1c0f0c3e348aa2fbcabd926188b (diff)
downloadsssd-f21b3cce14055e77af8ccb98dd8e0fa1ec1f7944.tar.gz
sssd-f21b3cce14055e77af8ccb98dd8e0fa1ec1f7944.tar.xz
sssd-f21b3cce14055e77af8ccb98dd8e0fa1ec1f7944.zip
SYSDB: Add a second, timestamp-only ldb cache
Uses the generic functions in sysdb_init.c to open a new ldb database. The path to the database and the ldb context are stored in the sysdb_ctx. The database will be used to store ephemeral attributes such as timestamps. Because these attributes are not required for SSSD operation and the intent is for writes to this cache to be very fast, the database is opened with LDB_FLG_NOSYNC flag. At the same time, none of the attributes of the cache is required for sssd operation, so if we fail to open the database, we just start over. Adds a separate base LDIF with attributes that are supposed to be indexed in the timestamp database as well as a separate timestamp cache version. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions