diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 13:57:51 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:03 +0100 |
commit | b353437811527daf305fceef5f07e990c50d62ca (patch) | |
tree | bae93aa16192a39156e1234e5713701e3dce7be3 /src/db | |
parent | c14184c07634801cda7864aa17c6fa8dc9ab43d1 (diff) | |
download | sssd-b353437811527daf305fceef5f07e990c50d62ca.tar.gz sssd-b353437811527daf305fceef5f07e990c50d62ca.tar.bz2 sssd-b353437811527daf305fceef5f07e990c50d62ca.zip |
Kill sysdb->domain
Finally remove this upside-down dependency.
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb.c | 1 | ||||
-rw-r--r-- | src/db/sysdb_private.h | 2 | ||||
-rw-r--r-- | src/db/sysdb_subdomains.c | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index a35664d1..e7524f4b 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -970,7 +970,6 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, if (!sysdb) { return ENOMEM; } - sysdb->domain = domain; ret = sysdb_get_db_file(sysdb, domain->provider, domain->name, db_path, diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h index 5a900f17..012a13b8 100644 --- a/src/db/sysdb_private.h +++ b/src/db/sysdb_private.h @@ -83,8 +83,6 @@ #include "db/sysdb.h" struct sysdb_ctx { - struct sss_domain_info *domain; /* *DEPRECATED*, do not use! */ - struct ldb_context *ldb; char *ldb_file; }; diff --git a/src/db/sysdb_subdomains.c b/src/db/sysdb_subdomains.c index 2d8470d5..69806517 100644 --- a/src/db/sysdb_subdomains.c +++ b/src/db/sysdb_subdomains.c @@ -560,8 +560,6 @@ errno_t sysdb_get_subdomain_context(TALLOC_CTX *mem_ctx, return ENOMEM; } - new_ctx->domain = subdomain; - new_ctx->ldb = sysdb->ldb; new_ctx->ldb_file = sysdb->ldb_file; |