diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2016-04-20 17:06:03 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-06-23 13:40:11 +0200 |
| commit | 72dbcd0a3361f1c0f0c3e348aa2fbcabd926188b (patch) | |
| tree | 2446de5bdb60544ac793b3dbb00d051b7b2f0350 /src/python/pysss.c | |
| parent | e732d23f3ec986a463d757781a334040e03d1f59 (diff) | |
| download | sssd-72dbcd0a3361f1c0f0c3e348aa2fbcabd926188b.tar.gz sssd-72dbcd0a3361f1c0f0c3e348aa2fbcabd926188b.tar.xz sssd-72dbcd0a3361f1c0f0c3e348aa2fbcabd926188b.zip | |
SYSDB: Refactor database connection
Changes the functions in sysdb_init.c so that the functions are usable
to initialize a second cache to store timestamps. In particular,
functions that operated on sysdb->ldb now operate on a generic ldb
context so that a new ldb_ts context can be used later. Existing
functions that initialize the sysdb cache call the generic functions
with sysdb->ldb as a parameter.
Splits out a function to initialize an empty ldb database with a generic
LDIF.
Splits out the sysdb upgrade function because the upgrade will only be
used by the sysdb cache, the timestamp cache will start with a different
version and might receive separate upgrade functions in the future.
The ldb connection function accepts ldb flags parameter, currently
unused.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/python/pysss.c')
0 files changed, 0 insertions, 0 deletions
